Searched refs:aes_cbc (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 360 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_aes_encrypt_common() 396 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_aes_encrypt_common() 421 rc = aes_encrypt_contiguous_blocks(soft_aes_ctx->aes_cbc, in soft_aes_encrypt_common() 435 if (((aes_ctx_t *)soft_aes_ctx->aes_cbc)->ac_remainder_len > 0) in soft_aes_encrypt_common() 436 rc = ctr_mode_final(soft_aes_ctx->aes_cbc, &out, in soft_aes_encrypt_common() 451 aes_ctx = (aes_ctx_t *)soft_aes_ctx->aes_cbc; in soft_aes_encrypt_common() 454 free(soft_aes_ctx->aes_cbc); in soft_aes_encrypt_common() 702 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_aes_decrypt_common() 717 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_aes_decrypt_common() 771 rc = aes_decrypt_contiguous_blocks(soft_aes_ctx->aes_cbc, in soft_aes_decrypt_common() [all …]
|
H A D | softDecryptUtil.c | 205 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( in soft_decrypt_init() 209 if (soft_aes_ctx->aes_cbc == NULL) { in soft_decrypt_init() 245 soft_aes_ctx->aes_cbc = aes_ctr_ctx_init( in soft_decrypt_init() 249 if (soft_aes_ctx->aes_cbc == NULL) { in soft_decrypt_init() 665 free(soft_aes_ctx->aes_cbc); in soft_decrypt_final() 698 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_decrypt_final() 719 free(soft_aes_ctx->aes_cbc); in soft_decrypt_final() 749 free(soft_aes_ctx->aes_cbc); in soft_decrypt_final() 763 ctr_ctx = soft_aes_ctx->aes_cbc; in soft_decrypt_final()
|
H A D | softEncryptUtil.c | 226 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( in soft_encrypt_init() 230 if (soft_aes_ctx->aes_cbc == NULL) { in soft_encrypt_init() 265 soft_aes_ctx->aes_cbc = aes_ctr_ctx_init( in soft_encrypt_init() 269 if (soft_aes_ctx->aes_cbc == NULL) { in soft_encrypt_init() 701 (aes_ctx_t *)soft_aes_ctx->aes_cbc, in soft_encrypt_final() 712 free(soft_aes_ctx->aes_cbc); in soft_encrypt_final() 740 free(soft_aes_ctx->aes_cbc); in soft_encrypt_final() 754 ctr_ctx = soft_aes_ctx->aes_cbc; in soft_encrypt_final() 891 aes_ctx = (aes_ctx_t *)soft_aes_ctx->aes_cbc; in soft_crypt_cleanup() 895 free(soft_aes_ctx->aes_cbc); in soft_crypt_cleanup()
|
H A D | softCrypt.h | 61 void *aes_cbc; /* to be used by CBC mode */ member
|
H A D | softKeystore.c | 2302 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( in soft_keystore_crypt() 2306 if (soft_aes_ctx->aes_cbc == NULL) { in soft_keystore_crypt()
|