Lines Matching full:node
347 * information in node with prperties of RSA Key like modulus, exponent etc.
349 * Parse sign-node and fill a key_prop structure with properties of the
357 * @node: Node having the RSA Key properties
362 uint sig_len, int node) in rsa_verify_with_keynode() argument
369 if (node < 0) { in rsa_verify_with_keynode()
370 debug("%s: Skipping invalid node", __func__); in rsa_verify_with_keynode()
374 prop.num_bits = fdtdec_get_int(blob, node, "rsa,num-bits", 0); in rsa_verify_with_keynode()
376 prop.n0inv = fdtdec_get_int(blob, node, "rsa,n0-inverse", 0); in rsa_verify_with_keynode()
378 prop.public_exponent = fdt_getprop(blob, node, "rsa,exponent", &length); in rsa_verify_with_keynode()
384 prop.modulus = fdt_getprop(blob, node, "rsa,modulus", NULL); in rsa_verify_with_keynode()
386 prop.rr = fdt_getprop(blob, node, "rsa,r-squared", NULL); in rsa_verify_with_keynode()
407 int sig_node, node; in rsa_verify() local
424 debug("%s: No signature node found\n", __func__); in rsa_verify()
446 node = fdt_subnode_offset(blob, sig_node, name); in rsa_verify()
447 ret = rsa_verify_with_keynode(info, hash, sig, sig_len, node); in rsa_verify()
455 if (ndepth == 1 && noffset != node) { in rsa_verify()