Home
last modified time | relevance | path

Searched refs:klen (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a-3.7.0/drivers/nxp/crypto/caam/src/auth/
Drsa.c38 uint8_t *rsa_pub_key, uint32_t klen) in rsa_public_verif_sec() argument
50 ctx.pkin.a_siz = klen; in rsa_public_verif_sec()
52 ctx.pkin.n_siz = klen; in rsa_public_verif_sec()
53 ctx.pkin.e = rsa_pub_key + klen; in rsa_public_verif_sec()
54 ctx.pkin.e_siz = klen; in rsa_public_verif_sec()
56 cnstr_jobdesc_pkha_rsaexp(jobdesc.desc, &ctx.pkin, to, klen); in rsa_public_verif_sec()
59 flush_dcache_range((uintptr_t)sign, klen); in rsa_public_verif_sec()
60 flush_dcache_range((uintptr_t)rsa_pub_key, 2 * klen); in rsa_public_verif_sec()
62 inv_dcache_range((uintptr_t)to, klen); in rsa_public_verif_sec()
76 inv_dcache_range((uintptr_t)to, klen); in rsa_public_verif_sec()
/trusted-firmware-a-3.7.0/drivers/nxp/auth/csf_hdr_parser/
Dcsf_hdr_parser.c306 uint32_t klen; in validate_esbc_header() local
314 ret = get_key(hdr, &key, &klen, algo); in validate_esbc_header()
320 if (klen == (2 * hdr->sign_len)) { in validate_esbc_header()
341 if ((key[klen / 2 - 1] & 0x1) == 0U) { in validate_esbc_header()
362 *key_len = klen; in validate_esbc_header()
/trusted-firmware-a-3.7.0/tools/marvell/doimage/
Ddoimage.c341 size_t klen, in verify_rsa_signature() argument
372 rval = mbedtls_pk_parse_subpubkey(&pkey, pub_key + klen, &pk_ctx); in verify_rsa_signature()