Lines Matching refs:hnbyte
256 unsigned int hnbyte = (bitlen + 15) >> 4; in ossl_blob_length() local
281 return 4 + 2 * nbyte + 5 * hnbyte; in ossl_blob_length()
456 unsigned int hnbyte = (bitlen + 15) >> 4; in ossl_b2i_RSA_after_header() local
469 if (!read_lebn(&pin, hnbyte, &p)) in ossl_b2i_RSA_after_header()
471 if (!read_lebn(&pin, hnbyte, &q)) in ossl_b2i_RSA_after_header()
473 if (!read_lebn(&pin, hnbyte, &dmp1)) in ossl_b2i_RSA_after_header()
475 if (!read_lebn(&pin, hnbyte, &dmq1)) in ossl_b2i_RSA_after_header()
477 if (!read_lebn(&pin, hnbyte, &iqmp)) in ossl_b2i_RSA_after_header()
638 int nbyte, hnbyte, bitlen; in check_bitlen_rsa() local
646 hnbyte = (bitlen + 15) >> 4; in check_bitlen_rsa()
663 if ((BN_num_bytes(iqmp) > hnbyte) in check_bitlen_rsa()
664 || (BN_num_bytes(p) > hnbyte) in check_bitlen_rsa()
665 || (BN_num_bytes(q) > hnbyte) in check_bitlen_rsa()
666 || (BN_num_bytes(dmp1) > hnbyte) in check_bitlen_rsa()
667 || (BN_num_bytes(dmq1) > hnbyte)) in check_bitlen_rsa()
678 int nbyte, hnbyte; in write_rsa() local
682 hnbyte = (RSA_bits(rsa) + 15) >> 4; in write_rsa()
690 write_lebn(out, p, hnbyte); in write_rsa()
691 write_lebn(out, q, hnbyte); in write_rsa()
692 write_lebn(out, dmp1, hnbyte); in write_rsa()
693 write_lebn(out, dmq1, hnbyte); in write_rsa()
694 write_lebn(out, iqmp, hnbyte); in write_rsa()