Searched refs:iv_buf (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | spu.c | 652 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 751 if (cipher_parms->iv_buf && cipher_parms->iv_len) { in spum_create_request() 756 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 951 memset(cipher_parms->iv_buf, 0, cipher_parms->iv_len); in spum_cipher_req_finish() 954 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_cipher_req_finish() 970 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) in spum_cipher_req_finish() 972 memcpy(bdesc_ptr - cipher_parms->iv_len, cipher_parms->iv_buf, in spum_cipher_req_finish() 1185 L = ((cipher_parms->iv_buf[0] & CCM_B0_L_PRIME) >> in spum_ccm_update_iv() 1192 cipher_parms->iv_buf[0] = (adata << CCM_B0_ADATA_SHIFT) | in spum_ccm_update_iv() 1203 format_value_ccm(chunksize, &cipher_parms->iv_buf[1 in spum_ccm_update_iv() [all...] |
H A D | spu2.c | 1003 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request() 1099 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request() 1195 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_cipher_req_finish() 1212 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) { in spu2_cipher_req_finish() 1214 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf, in spu2_cipher_req_finish() 1363 L = ((cipher_parms->iv_buf[0] & CCM_B0_L_PRIME) >> in spu2_ccm_update_iv() 1368 memmove(cipher_parms->iv_buf, &cipher_parms->iv_buf[1], in spu2_ccm_update_iv()
|
H A D | spu.h | 121 /* iv_buf and iv_len include salt, if applicable */ 122 u8 *iv_buf; member
|
H A D | cipher.c | 329 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req() 1308 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req() 1867 cipher_parms.iv_buf = NULL; in skcipher_setkey()
|
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | spu.c | 650 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 749 if (cipher_parms->iv_buf && cipher_parms->iv_len) { in spum_create_request() 754 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 949 memset(cipher_parms->iv_buf, 0, cipher_parms->iv_len); in spum_cipher_req_finish() 952 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_cipher_req_finish() 968 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) in spum_cipher_req_finish() 970 memcpy(bdesc_ptr - cipher_parms->iv_len, cipher_parms->iv_buf, in spum_cipher_req_finish() 1183 L = ((cipher_parms->iv_buf[0] & CCM_B0_L_PRIME) >> in spum_ccm_update_iv() 1190 cipher_parms->iv_buf[0] = (adata << CCM_B0_ADATA_SHIFT) | in spum_ccm_update_iv() 1201 format_value_ccm(chunksize, &cipher_parms->iv_buf[1 in spum_ccm_update_iv() [all...] |
H A D | spu2.c | 1006 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request() 1102 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request() 1198 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_cipher_req_finish() 1215 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) { in spu2_cipher_req_finish() 1217 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf, in spu2_cipher_req_finish() 1366 L = ((cipher_parms->iv_buf[0] & CCM_B0_L_PRIME) >> in spu2_ccm_update_iv() 1371 memmove(cipher_parms->iv_buf, &cipher_parms->iv_buf[1], in spu2_ccm_update_iv()
|
H A D | spu.h | 122 /* iv_buf and iv_len include salt, if applicable */ 123 u8 *iv_buf; member
|
H A D | cipher.c | 329 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req() 1305 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req() 1864 cipher_parms.iv_buf = NULL; in skcipher_setkey()
|
Completed in 18 milliseconds