Searched refs:aes_check_keylen (Results 1 – 9 of 9) sorted by relevance
37 static inline int aes_check_keylen(unsigned int keylen) in aes_check_keylen() function
370 ret = aes_check_keylen(keylen); in gcm_setkey()474 ret = aes_check_keylen(keylen - 4); in rfc4106_setkey()580 ret = aes_check_keylen(keylen - 4); in rfc4543_setkey()674 err = aes_check_keylen(keylen); in aes_skcipher_setkey()695 err = aes_check_keylen(keylen); in rfc3686_skcipher_setkey()715 err = aes_check_keylen(keylen); in ctr_skcipher_setkey()
673 err = aes_check_keylen(keylen); in gcm_setkey()694 err = aes_check_keylen(keylen - 4); in rfc4106_setkey()720 err = aes_check_keylen(keylen - 4); in rfc4543_setkey()780 err = aes_check_keylen(keylen); in aes_skcipher_setkey()801 err = aes_check_keylen(keylen); in rfc3686_skcipher_setkey()821 err = aes_check_keylen(keylen); in ctr_skcipher_setkey()
730 ret = aes_check_keylen(keylen); in gcm_setkey()825 ret = aes_check_keylen(keylen - 4); in rfc4106_setkey()924 ret = aes_check_keylen(keylen - 4); in rfc4543_setkey()991 err = aes_check_keylen(keylen); in aes_skcipher_setkey()1012 err = aes_check_keylen(keylen); in rfc3686_skcipher_setkey()1032 err = aes_check_keylen(keylen); in ctr_skcipher_setkey()
519 err = aes_check_keylen(keylen); in acmac_setkey()
192 err = aes_check_keylen(key_len); in aes_expandkey()
345 if (aes_check_keylen(keylen)) { in tegra_aes_setkey()361 if (ret || aes_check_keylen(len)) { in tegra_xts_setkey()1382 if (aes_check_keylen(keylen)) { in tegra_aead_setkey()1706 if (aes_check_keylen(keylen)) { in tegra_cmac_setkey()
563 if (aes_check_keylen(keylen)) in tegra_hmac_setkey()
129 err = aes_check_keylen(key_len); in aes_set_key_common()1215 err = aes_check_keylen(keylen); in gcm_setkey()