Lines Matching refs:hash_mode
297 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in hmac_setkey() local
310 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
321 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
330 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
340 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
347 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
878 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in cc_proc_digest_desc() local
896 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_digest_desc()
913 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_digest_desc()
993 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in cc_set_hmac_desc() local
1001 set_cipher_mode(&desc[idx], hash_mode); in cc_set_hmac_desc()
1011 set_cipher_mode(&desc[idx], hash_mode); in cc_set_hmac_desc()
1012 set_din_sram(&desc[idx], cc_digest_len_addr(ctx->drvdata, hash_mode), in cc_set_hmac_desc()
1103 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in cc_proc_scheme_desc() local
1110 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1125 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1130 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1140 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1141 set_din_sram(&desc[idx], cc_digest_len_addr(ctx->drvdata, hash_mode), in cc_proc_scheme_desc()