HomeSort by relevance Sort by last modified time
    Searched refs:BN (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/boringssl/src/crypto/bn_extra/
bn_asn1.c 15 #include <openssl/bn.h>
25 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING);
30 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
38 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING);
45 int BN_marshal_asn1(CBB *cbb, const BIGNUM *bn) {
47 if (BN_is_negative(bn)) {
48 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
55 // otherwise be set or if |bn| is zero.
56 (BN_num_bits(bn) % 8 == 0 && !CBB_add_u8(&child, 0x00)) ||
57 !BN_bn2cbb_padded(&child, BN_num_bytes(bn), bn) |
    [all...]
convert.c 57 #include <openssl/bn.h>
69 #include "../fipsmodule/bn/internal.h"
79 char *BN_bn2hex(const BIGNUM *bn) {
81 bn->top * BN_BYTES * 2 + 1 /* trailing NUL */);
83 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
88 if (bn->neg) {
92 if (BN_is_zero(bn)) {
97 for (int i = bn->top - 1; i >= 0; i--) {
100 int v = ((int)(bn->d[i] >> (long)j)) & 0xff;
113 // decode_hex decodes |in_len| bytes of hex data from |in| and updates |bn|
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/
BN.java 51 public class BN extends Server {
53 BN(int port, int backlog, boolean secure) throws Exception {
Server.java 106 + " BN Blocking/Multi-threaded Server\n"
151 } else if (args[0].equals("BN")) {
152 server = new BN(port, backlog, secure);
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/server/
BN.java 51 public class BN extends Server {
53 BN(int port, int backlog, boolean secure) throws Exception {
Server.java 106 + " BN Blocking/Multi-threaded Server\n"
151 } else if (args[0].equals("BN")) {
152 server = new BN(port, backlog, secure);
  /external/boringssl/src/crypto/fipsmodule/bn/
jacobi.c 53 #include <openssl/bn.h>
73 OPENSSL_PUT_ERROR(BN, BN_R_CALLED_WITH_EVEN_MODULUS);
79 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
random.c 109 #include <openssl/bn.h>
135 OPENSSL_PUT_ERROR(BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
140 OPENSSL_PUT_ERROR(BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
155 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
243 OPENSSL_PUT_ERROR(BN, BN_R_INVALID_RANGE);
263 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_ITERATIONS);
sqrt.c 55 #include <openssl/bn.h>
90 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
261 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
271 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_ITERATIONS);
286 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
375 OPENSSL_PUT_ERROR(BN, BN_R_NOT_A_SQUARE);
411 OPENSSL_PUT_ERROR(BN, BN_R_NOT_A_SQUARE);
432 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
450 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
470 OPENSSL_PUT_ERROR(BN, ERR_R_BN_LIB)
    [all...]
montgomery.c 109 #include <openssl/bn.h>
175 OPENSSL_PUT_ERROR(BN, BN_R_DIV_BY_ZERO);
179 OPENSSL_PUT_ERROR(BN, BN_R_CALLED_WITH_EVEN_MODULUS);
183 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
189 OPENSSL_PUT_ERROR(BN, ERR_R_INTERNAL_ERROR);
265 OPENSSL_PUT_ERROR(BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
305 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
412 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
428 OPENSSL_PUT_ERROR(BN, ERR_R_INTERNAL_ERROR);
442 int bn_less_than_montgomery_R(const BIGNUM *bn, const BN_MONT_CTX *mont)
    [all...]
bn.c 57 #include <openssl/bn.h>
70 BIGNUM *bn = OPENSSL_malloc(sizeof(BIGNUM)); local
72 if (bn == NULL) {
73 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
77 OPENSSL_memset(bn, 0, sizeof(BIGNUM));
78 bn->flags = BN_FLG_MALLOCED;
80 return bn;
83 void BN_init(BIGNUM *bn) {
84 OPENSSL_memset(bn, 0, sizeof(BIGNUM));
87 void BN_free(BIGNUM *bn) {
    [all...]
gcd.c 109 #include <openssl/bn.h>
237 OPENSSL_PUT_ERROR(BN, BN_R_CALLED_WITH_EVEN_MODULUS);
242 OPENSSL_PUT_ERROR(BN, BN_R_INPUT_NOT_REDUCED);
364 OPENSSL_PUT_ERROR(BN, BN_R_NO_INVERSE);
405 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
449 OPENSSL_PUT_ERROR(BN, BN_R_INPUT_NOT_REDUCED);
461 OPENSSL_PUT_ERROR(BN, ERR_R_BN_LIB);
570 OPENSSL_PUT_ERROR(BN, BN_R_NO_INVERSE);
ctx.c 55 #include <openssl/bn.h>
127 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
156 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_TEMPORARY_VARIABLES);
172 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_TEMPORARY_VARIABLES);
shift.c 57 #include <openssl/bn.h>
72 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
141 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
  /external/icu/icu4c/source/test/cintltst/
cbiditst.h 52 #define BN U_BOUNDARY_NEUTRAL
cbididat.c 26 "LRE", "LRO", "AL", "RLE", "RLO", "PDF", "NSM", "BN",
34 /* LRE LRO AL RLE RLO PDF NSM BN */
186 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
207 WS, L, L, L, WS, PDF, WS, L, L, L, WS, PDF, ON, PDF, BN, BN, ON, PDF /* 18 entries */
285 ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S, LRE, LRO, B
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
TestClassOverride.java 42 private static final int BN = TestData.BN;
61 DEF, DEF, DEF, LRO, B, RLO, BN, DEF //78-7F
TestData.java 44 protected static final int BN = UCharacterDirection.BOUNDARY_NEUTRAL;
53 "LRE", "LRO", "AL", "RLE", "RLO", "PDF", "NSM", "BN",
72 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
77 BN, BN, ON, PDF }, // 9
98 { ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S,
100 { ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S,
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
TestClassOverride.java 39 private static final int BN = TestData.BN;
58 DEF, DEF, DEF, LRO, B, RLO, BN, DEF //78-7F
TestData.java 41 protected static final int BN = UCharacterDirection.BOUNDARY_NEUTRAL;
50 "LRE", "LRO", "AL", "RLE", "RLO", "PDF", "NSM", "BN",
69 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
74 BN, BN, ON, PDF }, // 9
95 { ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S,
97 { ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S,
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
propagateNoContraction.cpp 491 if (glslang::TIntermBinary* BN = node->getAsBinaryNode()) {
494 assert(accesschain_mapping_.count(BN->getLeft()));
498 BN->getLeft()->traverse(this);
501 if (isPreciseObjectNode(BN->getLeft())) {
507 assignee_object = accesschain_mapping_.at(BN->getLeft());
632 if (glslang::TIntermBinary* BN = defining_node->getAsBinaryNode()) {
633 assert(isAssignOperation(BN->getOp()));
634 BN->getRight()->traverse(this);
635 if (isArithmeticOperation(BN->getOp())) {
636 BN->getWritableType().getQualifier().noContraction = true
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/bidi/
trieval.go 22 BN // BoundaryNeutral
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/bidi/
trieval.go 22 BN // BoundaryNeutral
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/secure/bidirule/
bidirule.go 81 // AL, AN, EN, ES, CS, ET, ON, BN, or NSM are allowed.
83 {ruleRTL, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN | 1<<bidi.NSM},
92 // AL, AN, EN, ES, CS, ET, ON, BN, or NSM are allowed.
94 {ruleRTL, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN},
103 // EN, ES, CS, ET, ON, BN, or NSM are allowed.
105 {ruleLTR, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN | 1<<bidi.NSM},
114 // EN, ES, CS, ET, ON, BN, or NSM are allowed.
116 {ruleLTR, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN},
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/secure/bidirule/
bidirule.go 81 // AL, AN, EN, ES, CS, ET, ON, BN, or NSM are allowed.
83 {ruleRTL, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN | 1<<bidi.NSM},
92 // AL, AN, EN, ES, CS, ET, ON, BN, or NSM are allowed.
94 {ruleRTL, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN},
103 // EN, ES, CS, ET, ON, BN, or NSM are allowed.
105 {ruleLTR, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN | 1<<bidi.NSM},
114 // EN, ES, CS, ET, ON, BN, or NSM are allowed.
116 {ruleLTR, 1<<bidi.ES | 1<<bidi.CS | 1<<bidi.ET | 1<<bidi.ON | 1<<bidi.BN},

Completed in 705 milliseconds

1 2 3