Home
last modified time | relevance | path

Searched refs:CC_AES_128_BIT_KEY_SIZE (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/crypto/ccree/
Dcc_crypto_ctx.h23 #define CC_AES_128_BIT_KEY_SIZE 16 macro
24 #define CC_AES_128_BIT_KEY_SIZE_WORDS (CC_AES_128_BIT_KEY_SIZE >> 2)
Dcc_hash.c968 set_din_const(&desc[idx], 0x01010101, CC_AES_128_BIT_KEY_SIZE); in cc_xcbc_setkey()
972 CC_AES_128_BIT_KEY_SIZE, NS_BIT, 0); in cc_xcbc_setkey()
976 set_din_const(&desc[idx], 0x02020202, CC_AES_128_BIT_KEY_SIZE); in cc_xcbc_setkey()
980 CC_AES_128_BIT_KEY_SIZE, NS_BIT, 0); in cc_xcbc_setkey()
984 set_din_const(&desc[idx], 0x03030303, CC_AES_128_BIT_KEY_SIZE); in cc_xcbc_setkey()
988 CC_AES_128_BIT_KEY_SIZE, NS_BIT, 0); in cc_xcbc_setkey()
1233 key_size = CC_AES_128_BIT_KEY_SIZE; in cc_mac_final()
1234 key_len = CC_AES_128_BIT_KEY_SIZE; in cc_mac_final()
1382 key_len = CC_AES_128_BIT_KEY_SIZE; in cc_mac_finup()
1461 key_len = CC_AES_128_BIT_KEY_SIZE; in cc_mac_digest()
[all …]
Dcc_aead.c90 dma_free_coherent(dev, CC_AES_128_BIT_KEY_SIZE * 3, in cc_aead_exit()
161 const unsigned int key_size = CC_AES_128_BIT_KEY_SIZE * 3; in cc_aead_init()
274 set_din_const(&desc[1], 0x01010101, CC_AES_128_BIT_KEY_SIZE); in xcbc_setkey()
280 set_din_const(&desc[2], 0x02020202, CC_AES_128_BIT_KEY_SIZE); in xcbc_setkey()
287 set_din_const(&desc[3], 0x03030303, CC_AES_128_BIT_KEY_SIZE); in xcbc_setkey()
1044 set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE); in cc_set_xcbc_desc()
1057 set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE); in cc_set_xcbc_desc()
1070 set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE); in cc_set_xcbc_desc()
1083 set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE); in cc_set_xcbc_desc()
Dcc_cipher.c79 case CC_AES_128_BIT_KEY_SIZE: in validate_keys_sizes()