Searched refs:mackeylen (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | cryptlib.c | 70 if (aead && sop->mackeylen) { in cryptodev_get_cipher_keylen() 71 if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) in cryptodev_get_cipher_keylen() 73 klen += sop->mackeylen; in cryptodev_get_cipher_keylen() 94 if (aead && sop->mackeylen) { in cryptodev_get_cipher_key() 111 if (unlikely(copy_from_user(key, sop->mackey, sop->mackeylen))) { in cryptodev_get_cipher_key() 116 key += sop->mackeylen; in cryptodev_get_cipher_key() 353 int hmac_mode, void *mackey, size_t mackeylen) in cryptodev_hash_init() argument 365 ret = crypto_ahash_setkey(hdata->async.s, mackey, mackeylen); in cryptodev_hash_init() 368 alg_name, mackeylen*8); in cryptodev_hash_init()
|
| H A D | ioctl.c | 283 if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) { in crypto_create_session() 285 hash_name, (size_t)sop->mackeylen*8); in crypto_create_session() 291 sop->mackeylen))) { in crypto_create_session() 297 keys.mkey, sop->mackeylen); in crypto_create_session() 1052 sop->mackeylen = compat->mackeylen; in compat_to_session_op() 1065 compat->mackeylen = sop->mackeylen; in session_op_to_compat()
|
| H A D | cryptlib.h | 105 int hmac_mode, void *mackey, size_t mackeylen);
|
| H A D | cryptodev.h | 61 uint32_t mackeylen; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | cryptodev.h | 139 __u32 mackeylen; member
|
| /OK3568_Linux_fs/external/security/librkcrypto/include/ |
| H A D | cryptodev.h | 139 __u32 mackeylen; member
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_core.c | 813 sess.mackeylen = config->key_len; in rk_hash_init()
|