Home
last modified time | relevance | path

Searched refs:hash_name (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dioctl.c114 const char *hash_name = NULL; in crypto_create_session() local
194 hash_name = "hmac(md5)"; in crypto_create_session()
197 hash_name = "hmac(rmd160)"; in crypto_create_session()
200 hash_name = "hmac(sha1)"; in crypto_create_session()
203 hash_name = "hmac(sha224)"; in crypto_create_session()
207 hash_name = "hmac(sha256)"; in crypto_create_session()
210 hash_name = "hmac(sha384)"; in crypto_create_session()
213 hash_name = "hmac(sha512)"; in crypto_create_session()
218 hash_name = "md5"; in crypto_create_session()
222 hash_name = "rmd160"; in crypto_create_session()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Drsa-pkcs1pad.c606 const char *hash_name; in pkcs1pad_create() local
632 hash_name = crypto_attr_alg_name(tb[2]); in pkcs1pad_create()
633 if (IS_ERR(hash_name)) { in pkcs1pad_create()
645 ctx->digest_info = rsa_lookup_asn1(hash_name); in pkcs1pad_create()
653 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
659 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
/OK3568_Linux_fs/tools/linux/Linux_SecurityAVB/scripts/
H A Davbtool83 def __init__(self, algorithm_type, hash_name, hash_num_bytes, argument
86 self.hash_name = hash_name
100 hash_name='',
107 hash_name='sha256',
121 hash_name='sha256',
135 hash_name='sha256',
149 hash_name='sha512',
163 hash_name='sha512',
177 hash_name='sha512',
508 if alg.hash_name == '':
[all …]
/OK3568_Linux_fs/u-boot/scripts/
H A Davbtool.py86 def __init__(self, algorithm_type, hash_name, hash_num_bytes, argument
89 self.hash_name = hash_name
103 hash_name='',
110 hash_name='sha256',
124 hash_name='sha256',
138 hash_name='sha256',
152 hash_name='sha512',
166 hash_name='sha512',
180 hash_name='sha512',
457 hasher = hashlib.new(algorithm.hash_name)
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A Dspu2.c316 char *hash_name; in spu2_dump_fmd_ctrl0() local
352 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0()
353 packet_log(" Hash type: %s\n", hash_name); in spu2_dump_fmd_ctrl0()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_algs.c1213 const char *hash_name) in qat_alg_aead_init() argument
1217 ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in qat_alg_aead_init()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1363 static int sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) in sec_aead_ctx_init() argument
1375 auth_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
/OK3568_Linux_fs/kernel/security/selinux/ss/
H A Dpolicydb.c688 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval() argument
694 hash_name, h->nel, info.slots_used, h->size, in hash_eval()
707 static inline void hash_eval(struct hashtab *h, char *hash_name) in hash_eval() argument
/OK3568_Linux_fs/kernel/fs/
H A Dnamei.c2116 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2173 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2221 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()