Lines Matching refs:key
388 RSAPublicKey* key = cert->rsa; in load_keys() local
390 &(key->len), &(key->n0inv), &(key->n[0])) != 3) { in load_keys()
393 if (key->len != RSANUMWORDS) { in load_keys()
394 LOGE("key length (%d) does not match expected size\n", key->len); in load_keys()
397 for (i = 1; i < key->len; ++i) { in load_keys()
398 if (fscanf(f, " , %u", &(key->n[i])) != 1) goto exit; in load_keys()
400 if (fscanf(f, " } , { %u", &(key->rr[0])) != 1) goto exit; in load_keys()
401 for (i = 1; i < key->len; ++i) { in load_keys()
402 if (fscanf(f, " , %u", &(key->rr[i])) != 1) goto exit; in load_keys()
406 LOGI("read key e=%d hash=%d\n", key->exponent, cert->hash_len); in load_keys()
408 ECPublicKey* key = cert->ec; in load_keys() local
430 p256_from_bin(x_bytes, &key->x); in load_keys()
431 p256_from_bin(y_bytes, &key->y); in load_keys()