Searched refs:ccm_ctx_t (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | modes.c | 201 if (((ccm_ctx_t *)ctx)->ccm_pt_buf != NULL) 202 kmem_free(((ccm_ctx_t *)ctx)->ccm_pt_buf, 203 ((ccm_ctx_t *)ctx)->ccm_data_len); 205 kmem_free(ctx, sizeof (ccm_ctx_t)); 207 if (((ccm_ctx_t *)ctx)->ccm_pt_buf != NULL) 208 free(((ccm_ctx_t *)ctx)->ccm_pt_buf);
|
H A D | modes.h | 170 } ccm_ctx_t; typedef in typeref:struct:ccm_ctx 238 ccm_ctx_t acu_ccm; 306 extern int ccm_mode_encrypt_contiguous_blocks(ccm_ctx_t *, char *, size_t, 312 extern int ccm_mode_decrypt_contiguous_blocks(ccm_ctx_t *, char *, size_t, 330 int ccm_encrypt_final(ccm_ctx_t *, crypto_data_t *, size_t, 339 extern int ccm_decrypt_final(ccm_ctx_t *, crypto_data_t *, size_t, 357 extern int ccm_init_ctx(ccm_ctx_t *, char *, int, boolean_t, size_t, 371 extern void calculate_ccm_mac(ccm_ctx_t *, uint8_t *,
|
H A D | ccm.c | 48 ccm_mode_encrypt_contiguous_blocks(ccm_ctx_t *ctx, char *data, size_t length, 183 calculate_ccm_mac(ccm_ctx_t *ctx, uint8_t *ccm_mac, 207 ccm_encrypt_final(ccm_ctx_t *ctx, crypto_data_t *out, size_t block_size, 334 ccm_decrypt_incomplete_block(ccm_ctx_t *ctx, 359 ccm_mode_decrypt_contiguous_blocks(ccm_ctx_t *ctx, char *data, size_t length, 527 ccm_decrypt_final(ccm_ctx_t *ctx, crypto_data_t *out, size_t block_size, 568 calculate_ccm_mac((ccm_ctx_t *)ctx, ccm_mac_p, encrypt_block); 646 ulong_t authDataSize, uint8_t *b0, ccm_ctx_t *aes_ctx) 770 ccm_init(ccm_ctx_t *ctx, unsigned char *nonce, size_t nonce_len, 854 ccm_init_ctx(ccm_ctx_t *ccm_ct [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | aes.c | 477 ret = ccm_encrypt_final((ccm_ctx_t *)aes_ctx, ciphertext, 592 ret = ccm_decrypt_final((ccm_ctx_t *)aes_ctx, plaintext, 820 ret = ccm_encrypt_final((ccm_ctx_t *)aes_ctx, data, 905 ret = ccm_decrypt_final((ccm_ctx_t *)aes_ctx, data, 1044 ret = ccm_encrypt_final((ccm_ctx_t *)&aes_ctx, 1183 ret = ccm_decrypt_final((ccm_ctx_t *)&aes_ctx, 1363 rv = ccm_init_ctx((ccm_ctx_t *)aes_ctx, mechanism->cm_param,
|
Completed in 65 milliseconds