Searched refs:rsa_key (Results 1 - 4 of 4) sorted by relevance
/u-boot/include/crypto/internal/ |
H A D | rsa.h | 13 * rsa_key - RSA key structure 31 struct rsa_key { struct 50 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, 53 int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key,
|
/u-boot/lib/crypto/ |
H A D | rsa_helper.c | 27 struct rsa_key *key = context; 61 struct rsa_key *key = context; 76 struct rsa_key *key = context; 91 struct rsa_key *key = context; 106 struct rsa_key *key = context; 121 struct rsa_key *key = context; 136 struct rsa_key *key = context; 151 struct rsa_key *key = context; 165 * provided struct rsa_key, pointers to the raw key as is, 168 * @rsa_key 174 rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, unsigned int key_len) argument 194 rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, unsigned int key_len) argument [all...] |
/u-boot/lib/rsa/ |
H A D | rsa-keyprop.c | 654 struct rsa_key rsa_key; local 664 ret = rsa_parse_pub_key(&rsa_key, key, keylen); 670 for (i = 0; i < rsa_key.n_sz && !rsa_key.n[i]; i++) 672 (*prop)->num_bits = (rsa_key.n_sz - i) * 8; 673 (*prop)->modulus = malloc(rsa_key.n_sz - i); 678 memcpy((void *)(*prop)->modulus, &rsa_key.n[i], rsa_key.n_sz - i); 695 - rsa_key [all...] |
/u-boot/test/lib/ |
H A D | asn1.c | 377 struct rsa_key pkey;
|
Completed in 56 milliseconds