path stringlengths 14 112 | content stringlengths 0 6.32M | size int64 0 6.32M | max_lines int64 1 100k | repo_name stringclasses 2
values | autogenerated bool 1
class |
|---|---|---|---|---|---|
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes128_de.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,330 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes256_de.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,330 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.misc.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,978 | 701 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_random.datax | Generate random twice with CTR_DRBG
0
Generate random twice with HMAC_DRBG(SHA-1)
depends_on:0
1:exp:0
Generate random twice with HMAC_DRBG(SHA-256)
depends_on:1
1:exp:1
Generate random twice with HMAC_DRBG(SHA-512)
depends_on:2
1:exp:2
Generate random twice with PSA classic wrapper
2
Generate random twice with PS... | 701 | 47 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes192_en.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,330 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.misc.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 20,773 | 619 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_dhm.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,552 | 622 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes128_en.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,330 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes256_en.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,330 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_x509write.datax | Certificate Request check Server1 SHA1
depends_on:0:1:2
0:char*:"/zip/third_party/mbedtls/test/data/server1.key":char*:"/zip/third_party/mbedtls/test/data/server1.req.sha1":exp:0:int:0:int:0:int:0:int:0
Certificate Request check Server1 SHA224
depends_on:3:1:2
0:char*:"/zip/third_party/mbedtls/test/data/server1.key":c... | 9,140 | 114 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_mdx.datax | mbedtls_md2 Test vector RFC1319 #1
0:char*:"":hex:"8350e5a3e24c153df2275c9f80692773"
mbedtls_md2 Test vector RFC1319 #2
0:char*:"a":hex:"32ec01ec4a6dac72c0ab96fb34c0b5d1"
mbedtls_md2 Test vector RFC1319 #3
0:char*:"abc":hex:"da853b0d3f88d99b30283a69e6ded6bb"
mbedtls_md2 Test vector RFC1319 #4
0:char*:"message digest... | 3,500 | 100 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_shax.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,632 | 770 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pkwrite.datax | Public key write check RSA
depends_on:0:1
0:char*:"/zip/third_party/mbedtls/test/data/server1.pubkey"
Public key write check RSA 4096
depends_on:0:1
0:char*:"/zip/third_party/mbedtls/test/data/rsa4096_pub.pem"
Public key write check EC 192 bits
depends_on:2:1:3
0:char*:"/zip/third_party/mbedtls/test/data/ec_pub.pem"
... | 1,394 | 49 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_blowfish.datax | BLOWFISH - Valid parameters
0
BLOWFISH - Invalid parameters
1
BLOWFISH-ECB Encrypt SSLeay reference #1
2:hex:"0000000000000000":hex:"0000000000000000":hex:"4ef997456198dd78":int:0
BLOWFISH-ECB Encrypt SSLeay reference #2
2:hex:"ffffffffffffffff":hex:"ffffffffffffffff":hex:"51866fd5b85ecb8a":int:0
BLOWFISH-ECB Encry... | 13,587 | 316 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pem.datax | Standard PEM write
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":char*:"-----START TEST-----\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8=\n-----END TEST-----\n"
PEM write (zero data)
0:char*:"-----START TEST-----\n":char*:"-----END... | 3,227 | 40 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_poly1305.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 12,567 | 427 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pk.datax | PK invalid parameters
3
PK valid parameters
1
PK write valid parameters
depends_on:0
2:hex:"308204a20201000282010100a9021f3d406ad555538bfd36ee82652e15615e89bfb8e84590dbee881652d3f143504796125964876bfd2be046f973beddcf92e1915bed66a06f8929794580d0836ad54143775f397c09044782b0573970eda3ec15191ea8330847c10542a9fd4cc3b4dfdd... | 29,618 | 306 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.des.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 71,610 | 2,032 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.chacha20.datax | Chacha20 RFC 7539 Test Vector #1
depends_on:0
8:exp:0:exp:1:hex:"0000000000000000000000000000000000000000000000000000000000000000":hex:"000000000000000000000000":hex:"76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586":hex:"000000000000000000... | 3,502 | 113 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ecdsa.datax | ECDSA Parameter validation
0
ECDSA primitive random #1
depends_on:0
1:exp:0
ECDSA primitive random #2
depends_on:1
1:exp:1
ECDSA primitive random #3
depends_on:2
1:exp:2
ECDSA primitive random #4
depends_on:3
1:exp:3
ECDSA primitive random #5
depends_on:4
1:exp:4
ECDSA primitive rfc 4754 p256
depends_on:2
2:exp:2... | 30,823 | 328 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_x509parse.datax | X509 CRT information #1
depends_on:0:1:2
1:char*:"/zip/third_party/mbedtls/test/data/server1.crt":char*:"cert. version \: 3\nserial number \: 01\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Server 1\nissued on \: 2019-02-10 14\:44\:06\ne... | 252,716 | 2,825 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.gcm.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 73,259 | 2,100 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_mpi.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 74,763 | 2,345 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.no_reseed.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,864 | 696 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.ofb.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 38,340 | 1,109 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/lib.h | #ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_TEST_LIB_H_
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_TEST_LIB_H_
#include "libc/str/str.h"
#include "libc/x/x.h"
#include "libc/x/xasprintf.h"
#include "third_party/mbedtls/config.h"
#include "third_party/mbedtls/platform.h"
#define DEPENDENCY_SUPPORTED 0
#define KEY_VALUE_M... | 10,721 | 254 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_chacha20.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 12,823 | 414 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hkdf.datax | HKDF extract fails with hash_len of 0
3:int:0:exp:0
HKDF expand fails with NULL okm
4:int:32:int:32:int:0:exp:0
HKDF expand fails with hash_len of 0
4:int:0:int:32:int:32:exp:0
HKDF expand fails with prk_len < hash_len
4:int:32:int:16:int:32:exp:0
HKDF expand fails with okm_len / hash_len > 255
4:int:32:int:32:int:... | 6,761 | 100 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_md.datax | MD process
0
MD NULL/uninitialised arguments
1
Information on MD2
depends_on:0
2:exp:0:char*:"MD2":int:16
Information on MD4
depends_on:1
2:exp:1:char*:"MD4":int:16
Information on MD5
depends_on:2
2:exp:2:char*:"MD5":int:16
Information on RIPEMD160
depends_on:3
2:exp:3:char*:"RIPEMD160":int:20
Information on SHA1... | 97,196 | 1,227 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_des.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 19,170 | 686 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes256_en.datax | AES-GCM NIST Validation (AES-256,128,0,0,128) #0 [#1]
depends_on:0
1:exp:0:hex:"fb8094dd2eddb3d8004bb79134023ca2be4de9b668a9e4608abdf2130e8becb8":hex:"":hex:"491a14e13b591cf2f39da96b6882b5e5":hex:"":hex:"":int:128:hex:"80883f2c925434a5edfcefd5b123d520":int:0
AES-GCM NIST Validation (AES-256,128,0,0,128) #1 [#1]
depend... | 107,317 | 681 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.blowfish.datax | BLOWFISH CBC Decrypt empty buffer
depends_on:0:1:2
6:exp:0:int:0:int:0
BLOWFISH Encrypt and decrypt 0 bytes [#1]
depends_on:0:1:2
4:exp:0:char*:"BLOWFISH-CBC":int:128:int:0:exp:1
BLOWFISH Encrypt and decrypt 1 byte [#1]
depends_on:0:1:2
4:exp:0:char*:"BLOWFISH-CBC":int:128:int:1:exp:1
BLOWFISH Encrypt and decrypt 2 ... | 19,150 | 609 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.des.datax | DES CBC Decrypt empty buffer
depends_on:0:1:2
6:exp:0:int:0:int:0
DES EDE CBC Decrypt empty buffer
depends_on:0:1:2
6:exp:1:int:0:int:0
DES EDE3 CBC Decrypt empty buffer
depends_on:0:1:2
6:exp:2:int:0:int:0
DES Encrypt and decrypt 0 bytes [#1]
depends_on:0:1:2
4:exp:0:char*:"DES-CBC":int:64:int:0:exp:3
DES Encrypt ... | 17,650 | 605 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.padding.datax | Cipher list
0
Set padding with AES-CBC
depends_on:0:1:2
12:exp:0:exp:1:int:0
Set padding with AES-CFB
depends_on:0:3
12:exp:2:exp:1:exp:3
Set padding with AES-CTR
depends_on:0:4
12:exp:4:exp:1:exp:3
Set padding with CAMELLIA-CBC
depends_on:5:1:2
12:exp:5:exp:1:int:0
Set padding with CAMELLIA-CFB
depends_on:5:3
12:... | 5,364 | 237 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.misc.datax | GCM - Invalid parameters
3
GCM - Valid parameters
4
| 54 | 7 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.aes.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 76,590 | 2,239 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_mpi.datax | MPI - Valid parameters
0
MPI - Invalid parameters
1
Arguments with no value
2
Base test mpi_read_write_string #1
3:int:10:char*:"128":int:10:char*:"128":int:100:int:0:int:0
Base test mpi_read_write_string #2
3:int:10:char*:"128":int:16:char*:"80":int:100:int:0:int:0
Base test mpi_read_write_string #3 (Read zero)
3... | 51,048 | 1,016 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.misc.datax | CIPHER - Conditional invalid parameter checks
2
CIPHER - Unconditional invalid parameter checks
1
| 100 | 7 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes192_de.datax | AES-GCM NIST Validation (AES-192,128,0,0,128) #0 [#1]
depends_on:0
2:exp:0:hex:"806766a4d2b6507cc4113bc0e46eebe120eacd948c24dc7f":hex:"":hex:"4f801c772395c4519ec830980c8ca5a4":hex:"":int:128:hex:"8fa16452b132bebc6aa521e92cb3b0ea":char*:"FAIL":hex:"":int:0
AES-GCM NIST Validation (AES-192,128,0,0,128) #1 [#1]
depends_o... | 95,977 | 681 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_x509parse.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 78,084 | 2,720 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.null.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 71,613 | 2,029 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.chachapoly.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 71,638 | 2,029 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.ecb.datax | AES-128-ECB Encrypt NIST KAT #1
0:hex:"00000000000000000000000000000000":hex:"f34481ec3cc627bacd5dc3fb08f273e6":hex:"0336763e966d92595a567cc9ce537f5e":int:0
AES-128-ECB Encrypt NIST KAT #2
0:hex:"00000000000000000000000000000000":hex:"9798c4640bad75c7c3227db910174e72":hex:"a9a1631bf4996954ebc093957b234589":int:0
AES-... | 13,341 | 232 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.cfb.datax | AES-128-CFB128 Encrypt NIST KAT #1
depends_on:0
8:hex:"f0000000000000000000000000000000":hex:"00000000000000000000000000000000":hex:"00000000000000000000000000000000":hex:"970014d634e2b7650777e8e84d03ccd8"
AES-128-CFB128 Encrypt NIST KAT #2
depends_on:0
8:hex:"f8000000000000000000000000000000":hex:"0000000000000000000... | 26,094 | 469 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_md.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 26,125 | 876 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_version.datax | Check compiletime library version
0:char*:"2.26.0"
Check runtime library version
1:char*:"2.26.0"
Check for MBEDTLS_VERSION_C
2:char*:"MBEDTLS_VERSION_C":int:0
Check for MBEDTLS_AES_C when already present
depends_on:0
2:char*:"MBEDTLS_AES_C":int:0
Check for unknown define
2:char*:"MBEDTLS_UNKNOWN":exp:0
| 310 | 17 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pem.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 10,947 | 376 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.misc.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 71,196 | 2,010 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/everest_test.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 4,109 | 79 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_timing.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 9,747 | 367 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ecdh.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 36,649 | 1,074 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_random.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 19,244 | 662 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_base64.datax | Test case mbedtls_base64_encode #1 buffer just right
0:char*:"":char*:"":int:0:int:0
Test case mbedtls_base64_encode #2 buffer just right
0:char*:"f":char*:"Zg==":int:5:int:0
Test case mbedtls_base64_encode #2 buffer too small
0:char*:"f":char*:"Zg==":int:4:exp:0
Test case mbedtls_base64_encode #3 buffer just right
... | 9,211 | 188 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_chachapoly.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,811 | 620 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.nopr.datax | HMAC_DRBG NIST CAVS 14.3 PR False (SHA-1, 0, 0) #0
depends_on:0
4:exp:0:hex:"79349bbf7cdda5799557866621c913831146733abf8c35c8c7215b5b96c48e9b338c74e3e99dfedf":hex:"":hex:"":hex:"":hex:"":hex:"c6a16ab8d420706f0f34ab7fec5adca9d8ca3a133e159ca6ac43c6f8a2be22834a4c0a0affb10d7194f1c1a5cf7322ec1ae0964ed4bf122746e087fdb5b3e91b... | 201,400 | 1,201 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_chacha20.datax | ChaCha20 RFC 7539 Example and Test Vector (Encrypt)
0:hex:"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f":hex:"000000000000004a00000000":int:1:hex:"4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6e6c79206f6e6520746970206... | 6,858 | 31 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.chachapoly.datax | Decrypt empty buffer
depends_on:0
6:exp:0:int:0:int:0
ChaCha20+Poly1305 Encrypt and decrypt 0 bytes
depends_on:0
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:0:exp:1
ChaCha20+Poly1305 Encrypt and decrypt 1 bytes
depends_on:0
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:1:exp:1
ChaCha20+Poly1305 Encrypt and decrypt... | 6,970 | 125 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pkcs1_v21.datax | RSAES-OAEP Encryption Test Vector Int
0:int:1024:int:16:char*:"bbf82f090682ce9c2338ac2b9da871f7368d07eed41043a440d6b6f07454f51fb8dfbaaf035c02ab61ea48ceeb6fcd4876ed520d60e1ec4619719d8a5b8b807fafb8e0a3dfc737723ee6b4b7d93a2584ee6a649d060953748834b2454598394ee0aab12d7b61a51f527a9a41f6c1687fe2537298ca2a8f5946f8e5fd091dbdcb"... | 300,609 | 887 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_blowfish.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 26,316 | 729 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_error.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 8,885 | 329 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.no_reseed.datax | HMAC_DRBG NIST CAVS 14.3 No Reseed (SHA-1,128+64,0,0) #0
depends_on:0
3:exp:0:hex:"e91b63309e93d1d08e30e8d556906875f59747c468b0d0da":hex:"":hex:"":hex:"":hex:"b7928f9503a417110788f9d0c2585f8aee6fb73b220a626b3ab9825b7a9facc79723d7e1ba9255e40e65c249b6082a7bc5e3f129d3d8f69b04ed1183419d6c4f2a13b304d2c5743f41c8b0ee73225347"... | 179,440 | 1,201 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_asn1write.datax | ASN.1 Write NULL
0:hex:"0500"
ASN.1 Write BOOLEAN FALSE
1:int:0:hex:"010100"
ASN.1 Write BOOLEAN TRUE
1:int:1:hex:"0101ff"
ASN.1 Write int 0
2:int:0:hex:"020100"
ASN.1 Write int 1
2:int:1:hex:"020101"
ASN.1 Write int 127
2:int:0x7f:hex:"02017f"
ASN.1 Write int 128
2:int:0x80:hex:"02020080"
ASN.1 Write int 255
2:... | 17,102 | 370 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ctr_drbg.datax | CTR_DRBG_withDF.pdf: AES-256, PR=no, perso=no, add=no
depends_on:0
1:hex:"202122232425262728292a2b2c2d2e2f":hex:"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f":hex:"":hex:"":hex:"8da6cc59e703ced07d58d96e5b6d7836c32599735b734f88c1a73b53c7a6d82e"
CTR_DRBG_withDF.pdf: AE... | 120,988 | 1,102 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.padding.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 75,811 | 2,201 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_memory_buffer_alloc.datax | Memory buffer alloc self test
0
Memory buffer alloc - free in middle, alloc at end
1:int:100:int:100:int:100:int:0:int:0:int:1:int:0:int:0:int:200:int:0
Memory buffer alloc - free in middle, realloc
1:int:100:int:100:int:100:int:0:int:0:int:1:int:0:int:0:int:100:int:0
Memory buffer alloc - free in middle, merge, rea... | 678 | 25 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.rest.datax | AES-ECB Encrypt (Invalid keylength)
0:hex:"000000000000000000000000000000":hex:"f34481ec3cc627bacd5dc3fb08f273e6":hex:"0336763e966d92595a567cc9ce537f5e":exp:0
AES-ECB Decrypt (Invalid keylength)
1:hex:"000000000000000000000000000000":hex:"f34481ec3cc627bacd5dc3fb08f273e6":hex:"0336763e966d92595a567cc9ce537f5e":exp:0
... | 887 | 23 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.gcm.datax | CAMELLIA GCM Decrypt empty buffer
depends_on:0:1
6:exp:0:int:0:int:0
AES GCM Decrypt empty buffer
depends_on:2:1
6:exp:1:int:0:int:0
Aria GCM Decrypt empty buffer
depends_on:3:1
6:exp:2:int:0:int:0
AES 128 GCM Encrypt and decrypt 0 bytes
depends_on:2:1
4:exp:1:char*:"AES-128-GCM":int:128:int:0:exp:3
AES 128 GCM Enc... | 606,968 | 4,749 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_net.datax | Context init-free-free
0:int:0
Context init-free-init-free
0:int:1
net_poll beyond FD_SETSIZE
1
| 99 | 10 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_asn1parse.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 37,773 | 1,261 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes128_de.datax | AES-GCM NIST Validation (AES-128,128,0,0,128) #0 [#1]
depends_on:0
2:exp:0:hex:"d785dafea3e966731ef6fc6202262584":hex:"":hex:"d91a46205ee94058b3b8403997592dd2":hex:"":int:128:hex:"3b92a17c1b9c3578a68cffea5a5b6245":char*:"":hex:"":int:0
AES-GCM NIST Validation (AES-128,128,0,0,128) #1 [#1]
depends_on:0
2:exp:0:hex:"aec... | 93,733 | 681 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_gcm.aes256_de.datax | AES-GCM NIST Validation (AES-256,128,0,0,128) #0 [#1]
depends_on:0
2:exp:0:hex:"2c186654406b2b92c9639a7189d4ab5ab0b9bb87c43005027f3fa832fd3507b1":hex:"":hex:"3a0324d63a70400490c92e7604a3ba97":hex:"":int:128:hex:"4c61cd2e28a13d78a4e87ea7374dd01a":char*:"FAIL":hex:"":int:0
AES-GCM NIST Validation (AES-256,128,0,0,128) #... | 98,929 | 681 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.aes.datax | AES-128 CBC - Decrypt empty buffer
depends_on:0:1:2
6:exp:0:int:0:int:0
AES-128 XTS - Decrypt empty buffer
depends_on:0:3
6:exp:1:exp:2:int:0
AES-128 CBC - Encrypt and decrypt 0 bytes with PKCS7 padding
depends_on:0:1:2
4:exp:0:char*:"AES-128-CBC":int:128:int:0:exp:3
AES-128 CBC - Encrypt and decrypt 1 byte with PKC... | 73,470 | 1,805 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ecp.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 67,668 | 1,904 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.ecb.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 38,135 | 1,100 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.null.datax | NULL Encrypt and decrypt 0 bytes
depends_on:0
4:exp:0:char*:"NULL":int:0:int:0:exp:1
NULL Encrypt and decrypt 1 bytes
depends_on:0
4:exp:0:char*:"NULL":int:0:int:1:exp:1
NULL Encrypt and decrypt 2 bytes
depends_on:0
4:exp:0:char*:"NULL":int:0:int:2:exp:1
NULL Encrypt and decrypt 7 bytes
depends_on:0
4:exp:0:char*:"N... | 2,500 | 97 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.nist_kw.datax | KW AES-128 wrap - Decrypt empty buffer
depends_on:0:1
6:exp:0:exp:1:exp:1
KWP AES-128 wrap - Decrypt empty buffer
depends_on:0:1
6:exp:2:exp:1:exp:1
KW AES-128 wrap rfc 3394
depends_on:0:1
9:exp:0:hex:"000102030405060708090A0B0C0D0E0F":hex:"":hex:"":hex:"1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5":hex:"":char... | 16,294 | 281 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pkcs5.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 13,328 | 472 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_asn1write.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 26,682 | 909 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_dhm.datax | Diffie-Hellman parameter validation
0
Diffie-Hellman full exchange #1
1:int:10:char*:"23":int:10:char*:"5":int:0
Diffie-Hellman full exchange #2
1:int:10:char*:"93450983094850938450983409623":int:10:char*:"9345098304850938450983409622":int:0
Diffie-Hellman full exchange #3
1:int:10:char*:"934509830948509384509834096... | 2,488 | 40 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_des.datax | DES check weak key #1
0:hex:"0101010101010101":int:1
DES check weak key #2
0:hex:"FEE0FEE0FEF1FEF1":int:1
DES check weak key #3
0:hex:"0101010101010100":int:0
DES check weak key #4
0:hex:"EEE0FEE0FEF1FEF1":int:0
DES Encrypt OpenSSL Test Vector #1
1:hex:"0000000000000000":hex:"0000000000000000":hex:"8CA64DE9C1B123A7... | 9,403 | 253 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.ccm.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 72,472 | 2,066 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test.mk | #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-â
#âââvi: set et ft=make ts=8 tw=8 fenc=utf-8 :viââââââââââââââââââââââââ
PKGS += THIRD_PARTY_MBEDTLS_TEST
THIRD_PARTY_MBEDTLS_TEST_FILES := $(wildcard third_party/mbedtls/test/*)
THIRD_PARTY_... | 80,045 | 1,376 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_entropy.datax | Entropy init-free-free
0:int:0
Entropy init-free-init-free
0:int:1
Create NV seed_file
8
Entropy write/update seed file: good
1:char*:"o/tmp/mbedtls_test_suite_entropy_seed":int:0
Entropy write/update seed file: nonexistent
1:char*:"o/tmp/no_such_dir/file":exp:0
Entropy no sources
2
Entropy too many sources
3
En... | 1,924 | 90 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_base64.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 13,054 | 472 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ctr_drbg.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 24,114 | 740 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_cipher.nist_kw.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 72,448 | 2,063 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.nopr.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,849 | 696 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_aes.xts.datax | AES-128-XTS Encrypt Fail Sector Too Small (by 16 bytes)
6:int:0:exp:0
AES-128-XTS Encrypt Fail Sector Too Small (by 1 byte)
6:int:15:exp:0
AES-128-XTS Encrypt Fail Sector Too Large (by 1 byte)
6:int:16777217:exp:0
AES-128-XTS Encrypt Fail Sector Too Large (by 1 block)
6:int:16777232:exp:0
AES-0-XTS Setkey Fail Inva... | 60,476 | 142 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/secp384r1_test.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 5,904 | 173 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/everest_unravaged.c | #include "libc/intrin/bits.h"
#include "libc/limits.h"
#include "libc/time/time.h"
#include "third_party/mbedtls/asn1.h"
#include "third_party/mbedtls/bignum.h"
#include "third_party/mbedtls/common.h"
#include "third_party/mbedtls/error.h"
#include "third_party/mbedtls/platform.h"
asm(".ident\t\"\\n\\n\
Everest (Apach... | 26,181 | 896 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_oid.datax | OID get Any Policy certificate policy
0:hex:"551D2000":char*:"Any Policy"
OID get certificate policy invalid oid
0:hex:"5533445566":char*:""
OID get certificate policy wrong oid - id-ce-authorityKeyIdentifier
0:hex:"551D23":char*:""
OID get Ext Key Usage - id-kp-serverAuth
1:hex:"2B06010505070301":char*:"TLS Web Ser... | 2,047 | 89 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_nist_kw.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 21,390 | 721 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ecdsa.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 36,618 | 1,008 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_pkcs1_v15.datax | RSAES-V15 Encryption input=NULL with length=0
0:int:1024:int:16:char*:"bbf82f090682ce9c2338ac2b9da871f7368d07eed41043a440d6b6f07454f51fb8dfbaaf035c02ab61ea48ceeb6fcd4876ed520d60e1ec4619719d8a5b8b807fafb8e0a3dfc737723ee6b4b7d93a2584ee6a649d060953748834b2454598394ee0aab12d7b61a51f527a9a41f6c1687fe2537298ca2a8f5946f8e5fd0... | 20,162 | 133 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_ecdh.datax | ECDH - Valid parameters
0
ECDH - Invalid parameters
1
ECDH primitive random #1
depends_on:0
2:exp:0
ECDH primitive random #2
depends_on:1
2:exp:1
ECDH primitive random #3
depends_on:2
2:exp:2
ECDH primitive random #4
depends_on:3
2:exp:3
ECDH primitive random #5
depends_on:4
2:exp:4
ECDH primitive rfc 5903 p256
... | 7,636 | 111 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_oid.c | /* clang-format off */
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 13,580 | 523 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.pr.datax | HMAC_DRBG NIST CAVS 14.3 PR True (SHA-1, 0, 0) #0
depends_on:0
5:exp:0:hex:"a0c9ab58f1e2e5a4de3ebd4ff73e9c5b64efd8ca028cf81148a584fe69ab5aee42aa4d42176099d45e1397dc404d86a37bf55954756951e4":hex:"":hex:"":hex:"":hex:"9a00a2d00ed59bfe31ecb1399b608148d1969d250d3c1e94101098129325cab8fccc2d54731970c0107aa4892519955e4bc6001d... | 207,160 | 1,201 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_hmac_drbg.misc.datax | HMAC_DRBG entropy usage SHA-1
depends_on:0
0:exp:0
HMAC_DRBG entropy usage SHA-224
depends_on:1
0:exp:1
HMAC_DRBG entropy usage SHA-256
depends_on:1
0:exp:2
HMAC_DRBG entropy usage SHA-384
depends_on:2:3
0:exp:3
HMAC_DRBG entropy usage SHA-512
depends_on:2
0:exp:4
HMAC_DRBG write/update seed file SHA-1 [#1]
depend... | 1,645 | 84 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test.inc | #include "libc/calls/calls.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"
#include "libc/limits.h"
#include "libc/macros.internal.h"
#include "libc/sysv/consts/exit.h"
#include "third_party/mbedtls/config.h"
#include "third_party/mbedtls/test/lib.h"
asm(".ident\t\"\\n\\n\
Mbed TLS (Apache 2.0)\\n\
Copyright ARM... | 445 | 17 | jart/cosmopolitan | false |
cosmopolitan/third_party/mbedtls/test/test_suite_shax.datax | SHA-1 - Valid parameters
0
SHA-1 - Invalid parameters
1
SHA-1 Test Vector NIST CAVS #1
depends_on:0
2:hex:"":hex:"da39a3ee5e6b4b0d3255bfef95601890afd80709"
SHA-1 Test Vector NIST CAVS #2
depends_on:0
2:hex:"a8":hex:"99f2aa95e36f95c2acb0eaf23998f030638f3f15"
SHA-1 Test Vector NIST CAVS #3
depends_on:0
2:hex:"3000":h... | 16,993 | 191 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.