Searched refs:bn2 (Results 1 - 4 of 4) sorted by relevance
/openbsd-current/regress/lib/libcrypto/bn/ |
H A D | bn_shift.c | 36 BIGNUM *bn2 = NULL; local 40 if (!BN_hex2bn(&bn2, bn_shift_want_hex)) { 44 if (BN_cmp(bn1, bn2) != 0) { 52 if ((s = BN_bn2hex(bn2)) == NULL) { 62 BN_free(bn2); 71 BIGNUM *bn1 = NULL, *bn2 = NULL; local 79 if ((bn2 = BN_new()) == NULL) { 117 if (!BN_rshift1(bn2, bn1)) { 122 if (!check_shift_result(bn2)) 125 if (!BN_rshift1(bn2, bn 149 BIGNUM *bn1 = NULL, *bn2 = NULL; local 285 BIGNUM *bn1 = NULL, *bn2 = NULL; local [all...] |
/openbsd-current/regress/usr.bin/ssh/unittests/sshbuf/ |
H A D | test_sshbuf_getput_crypto.c | 30 BIGNUM *bn, *bn2, *bn_x, *bn_y; local 93 TEST_START("sshbuf_put_bignum2 bn2"); 106 TEST_START("sshbuf_put_bignum2 bn2 limited"); 126 bn2 = NULL; 127 ASSERT_INT_EQ(sshbuf_get_bignum2(p1, &bn2), 0); 128 ASSERT_BIGNUM_EQ(bn, bn2); 131 BN_free(bn2); 141 bn2 = NULL; 142 r = sshbuf_get_bignum2(p1, &bn2); 146 BN_free(bn2); [all...] |
H A D | test_sshbuf_getput_basic.c | 36 u_char bn2[] = { 0x00, 0x00, 0x01, 0x02 }; local 447 ASSERT_INT_EQ(sshbuf_put_bignum2_bytes(p1, bn2+2, sizeof(bn2)-2), 0); 456 ASSERT_INT_EQ(sshbuf_put_bignum2_bytes(p1, bn2, sizeof(bn2)), 0);
|
/openbsd-current/lib/libkeynote/ |
H A D | signature.c | 562 struct keynote_binary *bn1, *bn2; local 614 bn2 = (struct keynote_binary *) key2; 615 if ((bn1->bn_len == bn2->bn_len) && 616 !memcmp(bn1->bn_key, bn2->bn_key, bn1->bn_len))
|
Completed in 108 milliseconds