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

1 2

  /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);
49 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING);
61 int BN_marshal_asn1(CBB *cbb, const BIGNUM *bn) {
63 if (BN_is_negative(bn)) {
64 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
71 * otherwise be set or if |bn| is zero. */
72 (BN_num_bits(bn) % 8 == 0 && !CBB_add_u8(&child, 0x00)) |
    [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...]
  /external/boringssl/src/crypto/fipsmodule/bn/
random.c 109 #include <openssl/bn.h>
137 OPENSSL_PUT_ERROR(BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
142 OPENSSL_PUT_ERROR(BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
157 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
211 OPENSSL_PUT_ERROR(BN, BN_R_INVALID_RANGE);
222 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_ITERATIONS);
267 OPENSSL_PUT_ERROR(BN, BN_R_PRIVATE_KEY_TOO_LARGE);
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);
sqrt.c 55 #include <openssl/bn.h>
90 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
264 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
275 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_ITERATIONS);
290 OPENSSL_PUT_ERROR(BN, BN_R_P_IS_NOT_PRIME);
381 OPENSSL_PUT_ERROR(BN, BN_R_NOT_A_SQUARE);
417 OPENSSL_PUT_ERROR(BN, BN_R_NOT_A_SQUARE);
438 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
456 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
476 OPENSSL_PUT_ERROR(BN, ERR_R_BN_LIB)
    [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);
365 OPENSSL_PUT_ERROR(BN, BN_R_NO_INVERSE);
406 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
450 OPENSSL_PUT_ERROR(BN, BN_R_INPUT_NOT_REDUCED);
462 OPENSSL_PUT_ERROR(BN, ERR_R_BN_LIB);
576 OPENSSL_PUT_ERROR(BN, BN_R_NO_INVERSE);
montgomery.c 109 #include <openssl/bn.h>
178 OPENSSL_PUT_ERROR(BN, BN_R_DIV_BY_ZERO);
182 OPENSSL_PUT_ERROR(BN, BN_R_CALLED_WITH_EVEN_MODULUS);
186 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER);
192 OPENSSL_PUT_ERROR(BN, ERR_R_INTERNAL_ERROR);
387 OPENSSL_PUT_ERROR(BN, ERR_R_INTERNAL_ERROR);
ctx.c 55 #include <openssl/bn.h>
129 OPENSSL_PUT_ERROR(BN, ERR_R_MALLOC_FAILURE);
158 OPENSSL_PUT_ERROR(BN, BN_R_TOO_MANY_TEMPORARY_VARIABLES);
174 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);
prime.c 109 #include <openssl/bn.h>
375 OPENSSL_PUT_ERROR(BN, BN_R_BITS_TOO_SMALL);
379 OPENSSL_PUT_ERROR(BN, BN_R_BITS_TOO_SMALL);
544 OPENSSL_PUT_ERROR(BN, BN_R_INVALID_INPUT);
    [all...]
div.c 57 #include <openssl/bn.h>
204 OPENSSL_PUT_ERROR(BN, BN_R_NOT_INITIALIZED);
209 OPENSSL_PUT_ERROR(BN, BN_R_DIV_BY_ZERO);
520 OPENSSL_PUT_ERROR(BN, BN_R_INPUT_NOT_REDUCED);
add.c 57 #include <openssl/bn.h>
272 OPENSSL_PUT_ERROR(BN, BN_R_ARG2_LT_ARG3);
  /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 40 private static final int BN = TestData.BN;
59 DEF, DEF, DEF, LRO, B, RLO, BN, DEF //78-7F
TestData.java 42 protected static final int BN = UCharacterDirection.BOUNDARY_NEUTRAL;
51 "LRE", "LRO", "AL", "RLE", "RLO", "PDF", "NSM", "BN",
70 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
75 BN, BN, ON, PDF }, // 9
96 { ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S,
98 { 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/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
propagateNoContraction.cpp 490 if (glslang::TIntermBinary* BN = node->getAsBinaryNode()) {
493 assert(accesschain_mapping_.count(BN->getLeft()));
497 BN->getLeft()->traverse(this);
500 if (isPreciseObjectNode(BN->getLeft())) {
506 assignee_object = accesschain_mapping_.at(BN->getLeft());
631 if (glslang::TIntermBinary* BN = defining_node->getAsBinaryNode()) {
632 assert(isAssignOperation(BN->getOp()));
633 BN->getRight()->traverse(this);
634 if (isArithmeticOperation(BN->getOp())) {
635 BN->getWritableType().getQualifier().noContraction = true
    [all...]
  /external/llvm/utils/yaml-bench/
YAMLBench.cpp 99 } else if (yaml::BlockScalarNode *BN = dyn_cast<yaml::BlockScalarNode>(n)) {
100 outs() << prettyTag(n) << " \"" << yaml::escape(BN->getValue()) << "\"";
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mmix/
list-insns.s 86 1H BN $2,2F
87 2H BN $2,1B
  /external/vboot_reference/scripts/image_signing/
firmware_boot.sh 86 output=${base}-BN.fd
  /external/llvm/lib/Target/Hexagon/
BitTracker.cpp 1034 int BN = B->getNumber();
1035 assert(BN >= 0);
1038 if (I->second == BN)
1063 unsigned BN = I->getNumber();
1064 if (BN > MaxBN)
1065 MaxBN = BN;
    [all...]
  /external/icu/icu4c/source/common/
ubidiimp.h 55 BN= U_BOUNDARY_NEUTRAL, /* 18 */
88 #define MASK_BN_EXPLICIT (DIRPROP_FLAG(BN)|MASK_EXPLICIT)

Completed in 472 milliseconds

1 2