Lines Matching refs:key
724 const uint8_t *key,
740 const uint8_t *key, in caam_aes_gcm_non_blocking() argument
764 descriptor[2] = ADD_OFFSET((uint32_t)key); in caam_aes_gcm_non_blocking()
832 const uint8_t *key, in caam_aes_ccm_check_input_args() argument
845 if ((src == NULL) || (iv == NULL) || (key == NULL) || (dst == NULL)) in caam_aes_ccm_check_input_args()
961 const uint8_t *key,
977 const uint8_t *key, in caam_aes_ccm_non_blocking() argument
990 …status = caam_aes_ccm_check_input_args(base, input, iv, key, output, ivSize, aadSize, keySize, tag… in caam_aes_ccm_non_blocking()
1001 descriptor[2] = ADD_OFFSET((uint32_t)key); in caam_aes_ccm_non_blocking()
1115 const uint8_t *key, in CAAM_AES_EncryptTagCcmNonBlocking() argument
1121 key, keySize, (uint32_t)tag, tagSize, 1); in CAAM_AES_EncryptTagCcmNonBlocking()
1157 const uint8_t *key, in CAAM_AES_DecryptTagCcmNonBlocking() argument
1163 key, keySize, (uint32_t)tag, tagSize, 0); in CAAM_AES_DecryptTagCcmNonBlocking()
1231 const uint8_t *key, in CAAM_AES_CryptCtrNonBlocking() argument
1253 descriptor[2] = ADD_OFFSET((uint32_t)key); in CAAM_AES_CryptCtrNonBlocking()
1346 const uint8_t *key, in CAAM_AES_EncryptEcbNonBlocking() argument
1366 descriptor[2] = (uint32_t)ADD_OFFSET((uint32_t)key); in CAAM_AES_EncryptEcbNonBlocking()
1399 const uint8_t *key, in CAAM_AES_DecryptEcbNonBlocking() argument
1418 descriptor[2] = (uint32_t)ADD_OFFSET((uint32_t)key); in CAAM_AES_DecryptEcbNonBlocking()
1467 const uint8_t *key, in CAAM_AES_EncryptCbcNonBlocking() argument
1493 descriptor[2] = (uint32_t)ADD_OFFSET((uint32_t)key); in CAAM_AES_EncryptCbcNonBlocking()
1536 const uint8_t *key, in CAAM_AES_DecryptCbcNonBlocking() argument
1561 descriptor[2] = ADD_OFFSET((uint32_t)key); in CAAM_AES_DecryptCbcNonBlocking()
1613 const uint8_t *key, in CAAM_AES_EncryptTagGcmNonBlocking() argument
1619 key, keySize, (uint32_t)tag, tagSize, 1); in CAAM_AES_EncryptTagGcmNonBlocking()
1655 const uint8_t *key, in CAAM_AES_DecryptTagGcmNonBlocking() argument
1661 key, keySize, (uint32_t)tag, tagSize, 0); in CAAM_AES_DecryptTagGcmNonBlocking()
1995 const uint8_t *key, in CAAM_AES_EncryptEcb() argument
2003 …= CAAM_AES_EncryptEcbNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, key, keySize); in CAAM_AES_EncryptEcb()
2039 const uint8_t *key, in CAAM_AES_DecryptEcb() argument
2047 …= CAAM_AES_DecryptEcbNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, key, keySize); in CAAM_AES_DecryptEcb()
2083 const uint8_t *key, in CAAM_AES_EncryptCbc() argument
2091 …AM_AES_EncryptCbcNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, iv, key, keySize); in CAAM_AES_EncryptCbc()
2127 const uint8_t *key, in CAAM_AES_DecryptCbc() argument
2135 …AM_AES_DecryptCbcNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, iv, key, keySize); in CAAM_AES_DecryptCbc()
2181 const uint8_t *key, in CAAM_AES_CryptCtr() argument
2191 …s = CAAM_AES_CryptCtrNonBlocking(base, handle, descBuf, input, output, size, counter, key, keySize, in CAAM_AES_CryptCtr()
2244 const uint8_t *key, in CAAM_AES_EncryptTagCcm() argument
2255 aadSize, key, keySize, tag, tagSize); in CAAM_AES_EncryptTagCcm()
2304 const uint8_t *key, in CAAM_AES_DecryptTagCcm() argument
2315 aadSize, key, keySize, tag, tagSize); in CAAM_AES_DecryptTagCcm()
2361 const uint8_t *key, in CAAM_AES_EncryptTagGcm() argument
2372 aadSize, key, keySize, tag, tagSize); in CAAM_AES_EncryptTagGcm()
2424 const uint8_t *key, in CAAM_AES_DecryptTagGcm() argument
2435 aadSize, key, keySize, tag, tagSize); in CAAM_AES_DecryptTagGcm()
2477 …CAAM_Type *base, caam_hash_ctx_t *ctx, caam_hash_algo_t algo, const uint8_t *key, uint32_t keySize) in caam_hash_check_input_args() argument
2492 if ((NULL == key) || (!caam_check_key_size(keySize))) in caam_hash_check_input_args()
2938 const uint8_t *key, in CAAM_HASH_Init() argument
2945 ret = caam_hash_check_input_args(base, ctx, algo, key, keySize); in CAAM_HASH_Init()
2964 …am_memcpy(&ctxInternal->word[kCAAM_HashCtxKeyStartIdx], (const uint32_t *)(uintptr_t)key, keySize); in CAAM_HASH_Init()
3297 const uint8_t *key, in CAAM_HASH() argument
3305 …status = CAAM_HASH_NonBlocking(base, handle, descBuf, algo, input, inputSize, key, keySize, output… in CAAM_HASH()
3352 const uint8_t *key, in CAAM_HASH_NonBlocking() argument
3371 outputSize, output, NULL, (uint32_t)key, keySize); in CAAM_HASH_NonBlocking()
4843 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptEcb()
4848 … status = CAAM_DES_EncryptEcbNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, key); in CAAM_DES_EncryptEcb()
4882 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptEcbNonBlocking()
4899 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_EncryptEcbNonBlocking()
4928 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptEcb()
4933 … status = CAAM_DES_DecryptEcbNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, key); in CAAM_DES_DecryptEcb()
4967 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptEcbNonBlocking()
4983 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_DecryptEcbNonBlocking()
5015 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptCbc()
5022 …atus = CAAM_DES_EncryptCbcNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, iv, key); in CAAM_DES_EncryptCbc()
5057 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptCbcNonBlocking()
5073 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_EncryptCbcNonBlocking()
5106 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptCbc()
5113 …atus = CAAM_DES_DecryptCbcNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, iv, key); in CAAM_DES_DecryptCbc()
5148 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptCbcNonBlocking()
5164 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_DecryptCbcNonBlocking()
5196 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptCfb()
5203 …atus = CAAM_DES_EncryptCfbNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, iv, key); in CAAM_DES_EncryptCfb()
5237 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptCfbNonBlocking()
5253 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_EncryptCfbNonBlocking()
5285 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptCfb()
5292 …atus = CAAM_DES_DecryptCfbNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, iv, key); in CAAM_DES_DecryptCfb()
5326 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptCfbNonBlocking()
5342 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_DecryptCfbNonBlocking()
5375 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptOfb()
5382 …atus = CAAM_DES_EncryptOfbNonBlocking(base, handle, descBuf, plaintext, ciphertext, size, iv, key); in CAAM_DES_EncryptOfb()
5417 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_EncryptOfbNonBlocking()
5433 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_EncryptOfbNonBlocking()
5466 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptOfb()
5473 …atus = CAAM_DES_DecryptOfbNonBlocking(base, handle, descBuf, ciphertext, plaintext, size, iv, key); in CAAM_DES_DecryptOfb()
5508 const uint8_t key[CAAM_DES_KEY_SIZE]) in CAAM_DES_DecryptOfbNonBlocking()
5524 (void)caam_memcpy(&descriptor[2], (const uint32_t *)(uintptr_t)key, CAAM_DES_KEY_SIZE); in CAAM_DES_DecryptOfbNonBlocking()