/src/sys/external/isc/libsodium/dist/test/default/ |
codecs.c | 10 const char *b64; local in function:main 120 b64 = "VGhpcyBpcyBhIGpvdXJu" "\n" "ZXkgaW50by" " " "Bzb3VuZA=="; 122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, 129 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), "\n\r ", &bin_len, 136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len, 142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL [all...] |
codecs.c | 10 const char *b64; local in function:main 120 b64 = "VGhpcyBpcyBhIGpvdXJu" "\n" "ZXkgaW50by" " " "Bzb3VuZA=="; 122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, 129 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), "\n\r ", &bin_len, 136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len, 142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL [all...] |
codecs.c | 10 const char *b64; local in function:main 120 b64 = "VGhpcyBpcyBhIGpvdXJu" "\n" "ZXkgaW50by" " " "Bzb3VuZA=="; 122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, 129 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), "\n\r ", &bin_len, 136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len, 142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL [all...] |
codecs.c | 10 const char *b64; local in function:main 120 b64 = "VGhpcyBpcyBhIGpvdXJu" "\n" "ZXkgaW50by" " " "Bzb3VuZA=="; 122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, 129 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), "\n\r ", &bin_len, 136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len, 142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL [all...] |
codecs.c | 10 const char *b64; local in function:main 120 b64 = "VGhpcyBpcyBhIGpvdXJu" "\n" "ZXkgaW50by" " " "Bzb3VuZA=="; 122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, 129 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), "\n\r ", &bin_len, 136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len, 142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL [all...] |
/src/regress/lib/libc/divrem/ |
divremtest.c | 85 intmax_t a64, b64, sr64; local in function:main 132 b64 = IM(1) << j; 135 T64S( a64 + k, b64 + l, sr64); 136 T64S( a64 + k, -b64 + l, sr64); 137 T64S(-a64 + k, b64 + l, sr64); 138 T64S(-a64 + k, -b64 + l, sr64); 139 T64U(UIM(a64) + k, UIM(b64) + l, ur64); 147 for(b64 = -(1 << KLE); b64 < 1 << KLE; ++b64) { [all...] |
divremtest.c | 85 intmax_t a64, b64, sr64; local in function:main 132 b64 = IM(1) << j; 135 T64S( a64 + k, b64 + l, sr64); 136 T64S( a64 + k, -b64 + l, sr64); 137 T64S(-a64 + k, b64 + l, sr64); 138 T64S(-a64 + k, -b64 + l, sr64); 139 T64U(UIM(a64) + k, UIM(b64) + l, ur64); 147 for(b64 = -(1 << KLE); b64 < 1 << KLE; ++b64) { [all...] |
divremtest.c | 85 intmax_t a64, b64, sr64; local in function:main 132 b64 = IM(1) << j; 135 T64S( a64 + k, b64 + l, sr64); 136 T64S( a64 + k, -b64 + l, sr64); 137 T64S(-a64 + k, b64 + l, sr64); 138 T64S(-a64 + k, -b64 + l, sr64); 139 T64U(UIM(a64) + k, UIM(b64) + l, ur64); 147 for(b64 = -(1 << KLE); b64 < 1 << KLE; ++b64) { [all...] |
divremtest.c | 85 intmax_t a64, b64, sr64; local in function:main 132 b64 = IM(1) << j; 135 T64S( a64 + k, b64 + l, sr64); 136 T64S( a64 + k, -b64 + l, sr64); 137 T64S(-a64 + k, b64 + l, sr64); 138 T64S(-a64 + k, -b64 + l, sr64); 139 T64U(UIM(a64) + k, UIM(b64) + l, ur64); 147 for(b64 = -(1 << KLE); b64 < 1 << KLE; ++b64) { [all...] |
divremtest.c | 85 intmax_t a64, b64, sr64; local in function:main 132 b64 = IM(1) << j; 135 T64S( a64 + k, b64 + l, sr64); 136 T64S( a64 + k, -b64 + l, sr64); 137 T64S(-a64 + k, b64 + l, sr64); 138 T64S(-a64 + k, -b64 + l, sr64); 139 T64U(UIM(a64) + k, UIM(b64) + l, ur64); 147 for(b64 = -(1 << KLE); b64 < 1 << KLE; ++b64) { [all...] |
/src/usr.bin/mail/ |
mime_codecs.c | 202 * b64: buffer holding the encoded (base64) source. 203 * cnt: number of bytes in the b64 buffer to decode (see note 2). 210 * 2) The b64 buffer should always contain a multiple of 4 bytes of 214 mime_b64tobin(char *bin, const char *b64, size_t cnt) 234 q = (const unsigned char *)b64; 268 * b64: buffer to hold the encoded (base64) result (see note). 272 * NOTE: it is the callers responsibility to ensure that 'b64' is 276 mime_bintob64(char *b64, const char *bin, size_t cnt) 288 b64[0] = b64table[a >> 2]; 291 b64[1] = b64table[((a & 0x3) << 4)] 317 static char b64[MIME_BASE64_LINE_MAX]; local in function:mime_fB64_encode [all...] |
mime_codecs.c | 202 * b64: buffer holding the encoded (base64) source. 203 * cnt: number of bytes in the b64 buffer to decode (see note 2). 210 * 2) The b64 buffer should always contain a multiple of 4 bytes of 214 mime_b64tobin(char *bin, const char *b64, size_t cnt) 234 q = (const unsigned char *)b64; 268 * b64: buffer to hold the encoded (base64) result (see note). 272 * NOTE: it is the callers responsibility to ensure that 'b64' is 276 mime_bintob64(char *b64, const char *bin, size_t cnt) 288 b64[0] = b64table[a >> 2]; 291 b64[1] = b64table[((a & 0x3) << 4)] 317 static char b64[MIME_BASE64_LINE_MAX]; local in function:mime_fB64_encode [all...] |
mime_codecs.c | 202 * b64: buffer holding the encoded (base64) source. 203 * cnt: number of bytes in the b64 buffer to decode (see note 2). 210 * 2) The b64 buffer should always contain a multiple of 4 bytes of 214 mime_b64tobin(char *bin, const char *b64, size_t cnt) 234 q = (const unsigned char *)b64; 268 * b64: buffer to hold the encoded (base64) result (see note). 272 * NOTE: it is the callers responsibility to ensure that 'b64' is 276 mime_bintob64(char *b64, const char *bin, size_t cnt) 288 b64[0] = b64table[a >> 2]; 291 b64[1] = b64table[((a & 0x3) << 4)] 317 static char b64[MIME_BASE64_LINE_MAX]; local in function:mime_fB64_encode [all...] |
mime_codecs.c | 202 * b64: buffer holding the encoded (base64) source. 203 * cnt: number of bytes in the b64 buffer to decode (see note 2). 210 * 2) The b64 buffer should always contain a multiple of 4 bytes of 214 mime_b64tobin(char *bin, const char *b64, size_t cnt) 234 q = (const unsigned char *)b64; 268 * b64: buffer to hold the encoded (base64) result (see note). 272 * NOTE: it is the callers responsibility to ensure that 'b64' is 276 mime_bintob64(char *b64, const char *bin, size_t cnt) 288 b64[0] = b64table[a >> 2]; 291 b64[1] = b64table[((a & 0x3) << 4)] 317 static char b64[MIME_BASE64_LINE_MAX]; local in function:mime_fB64_encode [all...] |
mime_codecs.c | 202 * b64: buffer holding the encoded (base64) source. 203 * cnt: number of bytes in the b64 buffer to decode (see note 2). 210 * 2) The b64 buffer should always contain a multiple of 4 bytes of 214 mime_b64tobin(char *bin, const char *b64, size_t cnt) 234 q = (const unsigned char *)b64; 268 * b64: buffer to hold the encoded (base64) result (see note). 272 * NOTE: it is the callers responsibility to ensure that 'b64' is 276 mime_bintob64(char *b64, const char *bin, size_t cnt) 288 b64[0] = b64table[a >> 2]; 291 b64[1] = b64table[((a & 0x3) << 4)] 317 static char b64[MIME_BASE64_LINE_MAX]; local in function:mime_fB64_encode [all...] |
mime_attach.c | 136 char *b64; local in function:getrandstring 145 b64 = salloc(roundup(length, 4)); 146 mime_bintob64(b64, vbin, binlen); 147 b64[length] = '\0'; 149 return b64;
|
mime_attach.c | 136 char *b64; local in function:getrandstring 145 b64 = salloc(roundup(length, 4)); 146 mime_bintob64(b64, vbin, binlen); 147 b64[length] = '\0'; 149 return b64;
|
mime_attach.c | 136 char *b64; local in function:getrandstring 145 b64 = salloc(roundup(length, 4)); 146 mime_bintob64(b64, vbin, binlen); 147 b64[length] = '\0'; 149 return b64;
|
mime_attach.c | 136 char *b64; local in function:getrandstring 145 b64 = salloc(roundup(length, 4)); 146 mime_bintob64(b64, vbin, binlen); 147 b64[length] = '\0'; 149 return b64;
|
mime_attach.c | 136 char *b64; local in function:getrandstring 145 b64 = salloc(roundup(length, 4)); 146 mime_bintob64(b64, vbin, binlen); 147 b64[length] = '\0'; 149 return b64;
|
/src/lib/libcrypt/ |
crypt.c | 89 * define "B64" to be the declaration for a 64 bit integer. 93 #define B64 long 96 #define B64 long long 150 * machines which support it, a 64 bit value "b64". This data structure, 235 #if defined(B64) 236 B64 b64; member in union:__anonc87fd5ce010a
|
crypt.c | 89 * define "B64" to be the declaration for a 64 bit integer. 93 #define B64 long 96 #define B64 long long 150 * machines which support it, a 64 bit value "b64". This data structure, 235 #if defined(B64) 236 B64 b64; member in union:__anonc87fd5ce010a
|
crypt.c | 89 * define "B64" to be the declaration for a 64 bit integer. 93 #define B64 long 96 #define B64 long long 150 * machines which support it, a 64 bit value "b64". This data structure, 235 #if defined(B64) 236 B64 b64; member in union:__anonc87fd5ce010a
|
crypt.c | 89 * define "B64" to be the declaration for a 64 bit integer. 93 #define B64 long 96 #define B64 long long 150 * machines which support it, a 64 bit value "b64". This data structure, 235 #if defined(B64) 236 B64 b64; member in union:__anonc87fd5ce010a
|
crypt.c | 89 * define "B64" to be the declaration for a 64 bit integer. 93 #define B64 long 96 #define B64 long long 150 * machines which support it, a 64 bit value "b64". This data structure, 235 #if defined(B64) 236 B64 b64; member in union:__anonc87fd5ce010a
|