Home
last modified time | relevance | path

Searched refs:soft_aes_ctx_t (Results 1 – 7 of 7) sorted by relevance

/onnv-gate/usr/src/common/crypto/aes/
H A Daes_impl.h193 } soft_aes_ctx_t; typedef
211 extern void fips_aes_free_context(soft_aes_ctx_t *);
213 extern soft_aes_ctx_t *fips_aes_build_context(uint8_t *, int,
215 extern int fips_aes_encrypt(soft_aes_ctx_t *, uchar_t *,
217 extern int fips_aes_decrypt(soft_aes_ctx_t *, uchar_t *,
/onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEncryptUtil.c201 soft_aes_ctx_t *soft_aes_ctx; in soft_encrypt_init()
220 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; in soft_encrypt_init()
245 soft_aes_ctx_t *soft_aes_ctx; in soft_encrypt_init()
264 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; in soft_encrypt_init()
656 soft_aes_ctx_t *soft_aes_ctx; in soft_encrypt_final()
658 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; in soft_encrypt_final()
723 soft_aes_ctx_t *soft_aes_ctx; in soft_encrypt_final()
725 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; in soft_encrypt_final()
749 soft_aes_ctx_t *soft_aes_ctx; in soft_encrypt_final()
753 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; in soft_encrypt_final()
[all …]
H A DsoftDecryptUtil.c179 soft_aes_ctx_t *soft_aes_ctx; in soft_decrypt_init()
198 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
225 soft_aes_ctx_t *soft_aes_ctx; in soft_decrypt_init()
244 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
653 soft_aes_ctx_t *soft_aes_ctx; in soft_decrypt_final()
655 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_final()
732 soft_aes_ctx_t *soft_aes_ctx; in soft_decrypt_final()
734 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_final()
758 soft_aes_ctx_t *soft_aes_ctx; in soft_decrypt_final()
762 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_final()
H A DsoftAESCrypt.c47 soft_aes_ctx_t *soft_aes_ctx; in soft_aes_crypt_init_common()
49 soft_aes_ctx = calloc(1, sizeof (soft_aes_ctx_t)); in soft_aes_crypt_init_common()
161 soft_aes_ctx_t *soft_aes_ctx = in soft_aes_encrypt_common()
162 (soft_aes_ctx_t *)session_p->encrypt.context; in soft_aes_encrypt_common()
499 soft_aes_ctx_t *soft_aes_ctx = in soft_aes_decrypt_common()
500 (soft_aes_ctx_t *)session_p->decrypt.context; in soft_aes_decrypt_common()
H A DsoftCrypt.h62 } soft_aes_ctx_t; typedef
H A DsoftKeystore.c2264 soft_aes_ctx_t *soft_aes_ctx; in soft_keystore_crypt()
2293 (soft_aes_ctx_t *)token_session.encrypt.context; in soft_keystore_crypt()
2296 (soft_aes_ctx_t *)token_session.decrypt.context; in soft_keystore_crypt()
/onnv-gate/usr/src/common/crypto/fips/
H A Dfips_aes_util.c181 soft_aes_ctx_t *
191 soft_aes_ctx_t *soft_aes_ctx; in fips_aes_build_context()
195 if ((soft_aes_ctx = kmem_zalloc(sizeof (soft_aes_ctx_t), in fips_aes_build_context()
198 if ((soft_aes_ctx = calloc(1, sizeof (soft_aes_ctx_t))) in fips_aes_build_context()
208 kmem_free(soft_aes_ctx, sizeof (soft_aes_ctx_t)); in fips_aes_build_context()
288 fips_aes_free_context(soft_aes_ctx_t *soft_aes_ctx) in fips_aes_free_context()
306 kmem_free(soft_aes_ctx, sizeof (soft_aes_ctx_t)); in fips_aes_free_context()
312 fips_aes_free_context(soft_aes_ctx_t *soft_aes_ctx) in fips_aes_free_context()
352 fips_aes_encrypt(soft_aes_ctx_t *soft_aes_ctx, uchar_t *in_buf, in fips_aes_encrypt()
357 fips_aes_encrypt(soft_aes_ctx_t *soft_aes_ctx, CK_BYTE_PTR in_buf, in fips_aes_encrypt()
[all …]