Lines Matching refs:buf
153 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror() argument
161 memset( buf, 0x00, buflen ); in mbedtls_strerror()
175 mbedtls_snprintf( buf, buflen, "CIPHER - The selected feature is not available" ); in mbedtls_strerror()
177 mbedtls_snprintf( buf, buflen, "CIPHER - Bad input parameters to function" ); in mbedtls_strerror()
179 mbedtls_snprintf( buf, buflen, "CIPHER - Failed to allocate memory" ); in mbedtls_strerror()
181 … mbedtls_snprintf( buf, buflen, "CIPHER - Input data contains invalid padding and is rejected" ); in mbedtls_strerror()
183 mbedtls_snprintf( buf, buflen, "CIPHER - Decryption of block requires a full block" ); in mbedtls_strerror()
185 mbedtls_snprintf( buf, buflen, "CIPHER - Authentication failed (for AEAD modes)" ); in mbedtls_strerror()
187 … mbedtls_snprintf( buf, buflen, "CIPHER - The context is invalid, eg because it was free()ed" ); in mbedtls_strerror()
192 mbedtls_snprintf( buf, buflen, "DHM - Bad input parameters to function" ); in mbedtls_strerror()
194 mbedtls_snprintf( buf, buflen, "DHM - Reading of the DHM parameters failed" ); in mbedtls_strerror()
196 mbedtls_snprintf( buf, buflen, "DHM - Making of the DHM parameters failed" ); in mbedtls_strerror()
198 mbedtls_snprintf( buf, buflen, "DHM - Reading of the public values failed" ); in mbedtls_strerror()
200 mbedtls_snprintf( buf, buflen, "DHM - Making of the public value failed" ); in mbedtls_strerror()
202 mbedtls_snprintf( buf, buflen, "DHM - Calculation of the DHM secret failed" ); in mbedtls_strerror()
204 mbedtls_snprintf( buf, buflen, "DHM - The ASN.1 data is not formatted correctly" ); in mbedtls_strerror()
206 mbedtls_snprintf( buf, buflen, "DHM - Allocation of memory failed" ); in mbedtls_strerror()
208 mbedtls_snprintf( buf, buflen, "DHM - Read/write of file failed" ); in mbedtls_strerror()
213 mbedtls_snprintf( buf, buflen, "ECP - Bad input parameters to function" ); in mbedtls_strerror()
215 mbedtls_snprintf( buf, buflen, "ECP - The buffer is too small to write to" ); in mbedtls_strerror()
217 mbedtls_snprintf( buf, buflen, "ECP - Requested curve not available" ); in mbedtls_strerror()
219 mbedtls_snprintf( buf, buflen, "ECP - The signature is not valid" ); in mbedtls_strerror()
221 mbedtls_snprintf( buf, buflen, "ECP - Memory allocation failed" ); in mbedtls_strerror()
223 …mbedtls_snprintf( buf, buflen, "ECP - Generation of random value, such as (ephemeral) key, failed"… in mbedtls_strerror()
225 mbedtls_snprintf( buf, buflen, "ECP - Invalid private or public key" ); in mbedtls_strerror()
227 …mbedtls_snprintf( buf, buflen, "ECP - Signature is valid but shorter than the user-supplied length… in mbedtls_strerror()
232 mbedtls_snprintf( buf, buflen, "MD - The selected feature is not available" ); in mbedtls_strerror()
234 mbedtls_snprintf( buf, buflen, "MD - Bad input parameters to function" ); in mbedtls_strerror()
236 mbedtls_snprintf( buf, buflen, "MD - Failed to allocate memory" ); in mbedtls_strerror()
238 mbedtls_snprintf( buf, buflen, "MD - Opening or reading of file failed" ); in mbedtls_strerror()
243 mbedtls_snprintf( buf, buflen, "PEM - No PEM header or footer found" ); in mbedtls_strerror()
245 mbedtls_snprintf( buf, buflen, "PEM - PEM string is not as expected" ); in mbedtls_strerror()
247 mbedtls_snprintf( buf, buflen, "PEM - Failed to allocate memory" ); in mbedtls_strerror()
249 mbedtls_snprintf( buf, buflen, "PEM - RSA IV is not in hex-format" ); in mbedtls_strerror()
251 mbedtls_snprintf( buf, buflen, "PEM - Unsupported key encryption algorithm" ); in mbedtls_strerror()
253 mbedtls_snprintf( buf, buflen, "PEM - Private key password can't be empty" ); in mbedtls_strerror()
255 …mbedtls_snprintf( buf, buflen, "PEM - Given private key password does not allow for correct decryp… in mbedtls_strerror()
257 … mbedtls_snprintf( buf, buflen, "PEM - Unavailable feature, e.g. hashing/encryption combination" ); in mbedtls_strerror()
259 mbedtls_snprintf( buf, buflen, "PEM - Bad input parameters to function" ); in mbedtls_strerror()
264 mbedtls_snprintf( buf, buflen, "PK - Memory allocation failed" ); in mbedtls_strerror()
266 … mbedtls_snprintf( buf, buflen, "PK - Type mismatch, eg attempt to encrypt with an ECDSA key" ); in mbedtls_strerror()
268 mbedtls_snprintf( buf, buflen, "PK - Bad input parameters to function" ); in mbedtls_strerror()
270 mbedtls_snprintf( buf, buflen, "PK - Read/write of file failed" ); in mbedtls_strerror()
272 mbedtls_snprintf( buf, buflen, "PK - Unsupported key version" ); in mbedtls_strerror()
274 mbedtls_snprintf( buf, buflen, "PK - Invalid key tag or value" ); in mbedtls_strerror()
276 …mbedtls_snprintf( buf, buflen, "PK - Key algorithm is unsupported (only RSA and EC are supported)"… in mbedtls_strerror()
278 mbedtls_snprintf( buf, buflen, "PK - Private key password can't be empty" ); in mbedtls_strerror()
280 …mbedtls_snprintf( buf, buflen, "PK - Given private key password does not allow for correct decrypt… in mbedtls_strerror()
282 …mbedtls_snprintf( buf, buflen, "PK - The pubkey tag or value is invalid (only RSA and EC are suppo… in mbedtls_strerror()
284 mbedtls_snprintf( buf, buflen, "PK - The algorithm tag or value is invalid" ); in mbedtls_strerror()
286 …mbedtls_snprintf( buf, buflen, "PK - Elliptic curve is unsupported (only NIST curves are supported… in mbedtls_strerror()
288 … mbedtls_snprintf( buf, buflen, "PK - Unavailable feature, e.g. RSA disabled for RSA key" ); in mbedtls_strerror()
290 …mbedtls_snprintf( buf, buflen, "PK - The signature is valid but its length is less than expected" … in mbedtls_strerror()
295 mbedtls_snprintf( buf, buflen, "PKCS12 - Bad input parameters to function" ); in mbedtls_strerror()
297 …mbedtls_snprintf( buf, buflen, "PKCS12 - Feature not available, e.g. unsupported encryption scheme… in mbedtls_strerror()
299 mbedtls_snprintf( buf, buflen, "PKCS12 - PBE ASN.1 data not as expected" ); in mbedtls_strerror()
301 …mbedtls_snprintf( buf, buflen, "PKCS12 - Given private key password does not allow for correct dec… in mbedtls_strerror()
306 mbedtls_snprintf( buf, buflen, "PKCS5 - Bad input parameters to function" ); in mbedtls_strerror()
308 mbedtls_snprintf( buf, buflen, "PKCS5 - Unexpected ASN.1 data" ); in mbedtls_strerror()
310 … mbedtls_snprintf( buf, buflen, "PKCS5 - Requested encryption or digest alg not available" ); in mbedtls_strerror()
312 …mbedtls_snprintf( buf, buflen, "PKCS5 - Given private key password does not allow for correct decr… in mbedtls_strerror()
317 mbedtls_snprintf( buf, buflen, "RSA - Bad input parameters to function" ); in mbedtls_strerror()
319 … mbedtls_snprintf( buf, buflen, "RSA - Input data contains invalid padding and is rejected" ); in mbedtls_strerror()
321 mbedtls_snprintf( buf, buflen, "RSA - Something failed during generation of a key" ); in mbedtls_strerror()
323 … mbedtls_snprintf( buf, buflen, "RSA - Key failed to pass the library's validity check" ); in mbedtls_strerror()
325 mbedtls_snprintf( buf, buflen, "RSA - The public key operation failed" ); in mbedtls_strerror()
327 mbedtls_snprintf( buf, buflen, "RSA - The private key operation failed" ); in mbedtls_strerror()
329 mbedtls_snprintf( buf, buflen, "RSA - The PKCS#1 verification failed" ); in mbedtls_strerror()
331 … mbedtls_snprintf( buf, buflen, "RSA - The output buffer for decryption is not large enough" ); in mbedtls_strerror()
333 … mbedtls_snprintf( buf, buflen, "RSA - The random generator failed to generate non-zeros" ); in mbedtls_strerror()
338 mbedtls_snprintf( buf, buflen, "SSL - The requested feature is not available" ); in mbedtls_strerror()
340 mbedtls_snprintf( buf, buflen, "SSL - Bad input parameters to function" ); in mbedtls_strerror()
342 mbedtls_snprintf( buf, buflen, "SSL - Verification of the message MAC failed" ); in mbedtls_strerror()
344 mbedtls_snprintf( buf, buflen, "SSL - An invalid SSL record was received" ); in mbedtls_strerror()
346 mbedtls_snprintf( buf, buflen, "SSL - The connection indicated an EOF" ); in mbedtls_strerror()
348 mbedtls_snprintf( buf, buflen, "SSL - An unknown cipher was received" ); in mbedtls_strerror()
350 … mbedtls_snprintf( buf, buflen, "SSL - The server has no ciphersuites in common with the client" ); in mbedtls_strerror()
352 mbedtls_snprintf( buf, buflen, "SSL - No RNG was provided to the SSL module" ); in mbedtls_strerror()
354 …mbedtls_snprintf( buf, buflen, "SSL - No client certification received from the client, but requir… in mbedtls_strerror()
356 …mbedtls_snprintf( buf, buflen, "SSL - Our own certificate(s) is/are too large to send in an SSL me… in mbedtls_strerror()
358 … mbedtls_snprintf( buf, buflen, "SSL - The own certificate is not set, but needed by the server" ); in mbedtls_strerror()
360 …mbedtls_snprintf( buf, buflen, "SSL - The own private key or pre-shared key is not set, but needed… in mbedtls_strerror()
362 mbedtls_snprintf( buf, buflen, "SSL - No CA Chain is set, but required to operate" ); in mbedtls_strerror()
364 … mbedtls_snprintf( buf, buflen, "SSL - An unexpected message was received from our peer" ); in mbedtls_strerror()
367 … mbedtls_snprintf( buf, buflen, "SSL - A fatal alert message was received from our peer" ); in mbedtls_strerror()
371 mbedtls_snprintf( buf, buflen, "SSL - Verification of our peer failed" ); in mbedtls_strerror()
373 …mbedtls_snprintf( buf, buflen, "SSL - The peer notified us that the connection is going to be clos… in mbedtls_strerror()
375 … mbedtls_snprintf( buf, buflen, "SSL - Processing of the ClientHello handshake message failed" ); in mbedtls_strerror()
377 … mbedtls_snprintf( buf, buflen, "SSL - Processing of the ServerHello handshake message failed" ); in mbedtls_strerror()
379 … mbedtls_snprintf( buf, buflen, "SSL - Processing of the Certificate handshake message failed" ); in mbedtls_strerror()
381 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the CertificateRequest handshake message faile… in mbedtls_strerror()
383 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ServerKeyExchange handshake message failed… in mbedtls_strerror()
385 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ServerHelloDone handshake message failed" … in mbedtls_strerror()
387 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ClientKeyExchange handshake message failed… in mbedtls_strerror()
389 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ClientKeyExchange handshake message failed… in mbedtls_strerror()
391 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ClientKeyExchange handshake message failed… in mbedtls_strerror()
393 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the CertificateVerify handshake message failed… in mbedtls_strerror()
395 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the ChangeCipherSpec handshake message failed"… in mbedtls_strerror()
397 … mbedtls_snprintf( buf, buflen, "SSL - Processing of the Finished handshake message failed" ); in mbedtls_strerror()
399 mbedtls_snprintf( buf, buflen, "SSL - Memory allocation failed" ); in mbedtls_strerror()
401 … mbedtls_snprintf( buf, buflen, "SSL - Hardware acceleration function returned with error" ); in mbedtls_strerror()
403 … mbedtls_snprintf( buf, buflen, "SSL - Hardware acceleration function skipped / left alone data" ); in mbedtls_strerror()
405 … mbedtls_snprintf( buf, buflen, "SSL - Processing of the compression / decompression failed" ); in mbedtls_strerror()
407 … mbedtls_snprintf( buf, buflen, "SSL - Handshake protocol not within min/max boundaries" ); in mbedtls_strerror()
409 …mbedtls_snprintf( buf, buflen, "SSL - Processing of the NewSessionTicket handshake message failed"… in mbedtls_strerror()
411 mbedtls_snprintf( buf, buflen, "SSL - Session ticket has expired" ); in mbedtls_strerror()
413 …mbedtls_snprintf( buf, buflen, "SSL - Public key type mismatch (eg, asked for RSA key exchange and… in mbedtls_strerror()
415 mbedtls_snprintf( buf, buflen, "SSL - Unknown identity received (eg, PSK identity)" ); in mbedtls_strerror()
417 …mbedtls_snprintf( buf, buflen, "SSL - Internal error (eg, unexpected failure in lower-level module… in mbedtls_strerror()
419 … mbedtls_snprintf( buf, buflen, "SSL - A counter would wrap (eg, too many messages exchanged)" ); in mbedtls_strerror()
421 … mbedtls_snprintf( buf, buflen, "SSL - Unexpected message at ServerHello in renegotiation" ); in mbedtls_strerror()
423 mbedtls_snprintf( buf, buflen, "SSL - DTLS client must retry for hello verification" ); in mbedtls_strerror()
425 … mbedtls_snprintf( buf, buflen, "SSL - A buffer is too small to receive or write a message" ); in mbedtls_strerror()
427 …mbedtls_snprintf( buf, buflen, "SSL - None of the common ciphersuites is usable (eg, no suitable c… in mbedtls_strerror()
429 mbedtls_snprintf( buf, buflen, "SSL - Connection requires a read call" ); in mbedtls_strerror()
431 mbedtls_snprintf( buf, buflen, "SSL - Connection requires a write call" ); in mbedtls_strerror()
433 mbedtls_snprintf( buf, buflen, "SSL - The operation timed out" ); in mbedtls_strerror()
435 … mbedtls_snprintf( buf, buflen, "SSL - The client initiated a reconnect from the same port" ); in mbedtls_strerror()
437 mbedtls_snprintf( buf, buflen, "SSL - Record header looks valid but is not expected" ); in mbedtls_strerror()
439 … mbedtls_snprintf( buf, buflen, "SSL - The alert message received indicates a non-fatal error" ); in mbedtls_strerror()
441 … mbedtls_snprintf( buf, buflen, "SSL - Couldn't set the hash for verifying CertificateVerify" ); in mbedtls_strerror()
446 …mbedtls_snprintf( buf, buflen, "X509 - Unavailable feature, e.g. RSA hashing/encryption combinatio… in mbedtls_strerror()
448 mbedtls_snprintf( buf, buflen, "X509 - Requested OID is unknown" ); in mbedtls_strerror()
450 …mbedtls_snprintf( buf, buflen, "X509 - The CRT/CRL/CSR format is invalid, e.g. different type expe… in mbedtls_strerror()
452 mbedtls_snprintf( buf, buflen, "X509 - The CRT/CRL/CSR version element is invalid" ); in mbedtls_strerror()
454 mbedtls_snprintf( buf, buflen, "X509 - The serial tag or value is invalid" ); in mbedtls_strerror()
456 mbedtls_snprintf( buf, buflen, "X509 - The algorithm tag or value is invalid" ); in mbedtls_strerror()
458 mbedtls_snprintf( buf, buflen, "X509 - The name tag or value is invalid" ); in mbedtls_strerror()
460 mbedtls_snprintf( buf, buflen, "X509 - The date tag or value is invalid" ); in mbedtls_strerror()
462 mbedtls_snprintf( buf, buflen, "X509 - The signature tag or value invalid" ); in mbedtls_strerror()
464 mbedtls_snprintf( buf, buflen, "X509 - The extension tag or value is invalid" ); in mbedtls_strerror()
466 mbedtls_snprintf( buf, buflen, "X509 - CRT/CRL/CSR has an unsupported version number" ); in mbedtls_strerror()
468 mbedtls_snprintf( buf, buflen, "X509 - Signature algorithm (oid) is unsupported" ); in mbedtls_strerror()
470 …mbedtls_snprintf( buf, buflen, "X509 - Signature algorithms do not match. (see \\c ::mbedtls_x509_… in mbedtls_strerror()
472 …mbedtls_snprintf( buf, buflen, "X509 - Certificate verification failed, e.g. CRL, CA or signature … in mbedtls_strerror()
474 mbedtls_snprintf( buf, buflen, "X509 - Format not recognized as DER or PEM" ); in mbedtls_strerror()
476 mbedtls_snprintf( buf, buflen, "X509 - Input invalid" ); in mbedtls_strerror()
478 mbedtls_snprintf( buf, buflen, "X509 - Allocation of memory failed" ); in mbedtls_strerror()
480 mbedtls_snprintf( buf, buflen, "X509 - Read/write of file failed" ); in mbedtls_strerror()
482 mbedtls_snprintf( buf, buflen, "X509 - Destination buffer is too small" ); in mbedtls_strerror()
486 if( strlen( buf ) == 0 ) in mbedtls_strerror()
487 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret ); in mbedtls_strerror()
498 len = strlen( buf ); in mbedtls_strerror()
505 mbedtls_snprintf( buf + len, buflen - len, " : " ); in mbedtls_strerror()
507 buf += len + 3; in mbedtls_strerror()
516 mbedtls_snprintf( buf, buflen, "AES - Invalid key length" ); in mbedtls_strerror()
518 mbedtls_snprintf( buf, buflen, "AES - Invalid data input length" ); in mbedtls_strerror()
523 mbedtls_snprintf( buf, buflen, "ASN1 - Out of data when parsing an ASN1 data structure" ); in mbedtls_strerror()
525 mbedtls_snprintf( buf, buflen, "ASN1 - ASN1 tag was of an unexpected value" ); in mbedtls_strerror()
527 …mbedtls_snprintf( buf, buflen, "ASN1 - Error when trying to determine the length or invalid length… in mbedtls_strerror()
529 mbedtls_snprintf( buf, buflen, "ASN1 - Actual length differs from expected length" ); in mbedtls_strerror()
531 mbedtls_snprintf( buf, buflen, "ASN1 - Data is invalid. (not used)" ); in mbedtls_strerror()
533 mbedtls_snprintf( buf, buflen, "ASN1 - Memory allocation failed" ); in mbedtls_strerror()
535 … mbedtls_snprintf( buf, buflen, "ASN1 - Buffer too small when writing ASN.1 data structure" ); in mbedtls_strerror()
540 mbedtls_snprintf( buf, buflen, "BASE64 - Output buffer too small" ); in mbedtls_strerror()
542 mbedtls_snprintf( buf, buflen, "BASE64 - Invalid character in input" ); in mbedtls_strerror()
547 …mbedtls_snprintf( buf, buflen, "BIGNUM - An error occurred while reading from or writing to a file… in mbedtls_strerror()
549 mbedtls_snprintf( buf, buflen, "BIGNUM - Bad input parameters to function" ); in mbedtls_strerror()
551 … mbedtls_snprintf( buf, buflen, "BIGNUM - There is an invalid character in the digit string" ); in mbedtls_strerror()
553 mbedtls_snprintf( buf, buflen, "BIGNUM - The buffer is too small to write to" ); in mbedtls_strerror()
555 …mbedtls_snprintf( buf, buflen, "BIGNUM - The input arguments are negative or result in illegal out… in mbedtls_strerror()
557 …mbedtls_snprintf( buf, buflen, "BIGNUM - The input argument for division is zero, which is not all… in mbedtls_strerror()
559 mbedtls_snprintf( buf, buflen, "BIGNUM - The input arguments are not acceptable" ); in mbedtls_strerror()
561 mbedtls_snprintf( buf, buflen, "BIGNUM - Memory allocation failed" ); in mbedtls_strerror()
566 mbedtls_snprintf( buf, buflen, "BLOWFISH - Invalid key length" ); in mbedtls_strerror()
568 mbedtls_snprintf( buf, buflen, "BLOWFISH - Invalid data input length" ); in mbedtls_strerror()
573 mbedtls_snprintf( buf, buflen, "CAMELLIA - Invalid key length" ); in mbedtls_strerror()
575 mbedtls_snprintf( buf, buflen, "CAMELLIA - Invalid data input length" ); in mbedtls_strerror()
580 mbedtls_snprintf( buf, buflen, "CCM - Bad input parameters to function" ); in mbedtls_strerror()
582 mbedtls_snprintf( buf, buflen, "CCM - Authenticated decryption failed" ); in mbedtls_strerror()
587 mbedtls_snprintf( buf, buflen, "CTR_DRBG - The entropy source failed" ); in mbedtls_strerror()
589 mbedtls_snprintf( buf, buflen, "CTR_DRBG - Too many random requested in single call" ); in mbedtls_strerror()
591 mbedtls_snprintf( buf, buflen, "CTR_DRBG - Input too large (Entropy + additional)" ); in mbedtls_strerror()
593 mbedtls_snprintf( buf, buflen, "CTR_DRBG - Read/write error in file" ); in mbedtls_strerror()
598 mbedtls_snprintf( buf, buflen, "DES - The data input has an invalid length" ); in mbedtls_strerror()
603 mbedtls_snprintf( buf, buflen, "ENTROPY - Critical entropy source failure" ); in mbedtls_strerror()
605 mbedtls_snprintf( buf, buflen, "ENTROPY - No more sources can be added" ); in mbedtls_strerror()
607 mbedtls_snprintf( buf, buflen, "ENTROPY - No sources have been added to poll" ); in mbedtls_strerror()
609 mbedtls_snprintf( buf, buflen, "ENTROPY - No strong sources have been added to poll" ); in mbedtls_strerror()
611 mbedtls_snprintf( buf, buflen, "ENTROPY - Read/write error in file" ); in mbedtls_strerror()
616 mbedtls_snprintf( buf, buflen, "GCM - Authenticated decryption failed" ); in mbedtls_strerror()
618 mbedtls_snprintf( buf, buflen, "GCM - Bad input parameters to function" ); in mbedtls_strerror()
623 mbedtls_snprintf( buf, buflen, "HMAC_DRBG - Too many random requested in single call" ); in mbedtls_strerror()
625 mbedtls_snprintf( buf, buflen, "HMAC_DRBG - Input too large (Entropy + additional)" ); in mbedtls_strerror()
627 mbedtls_snprintf( buf, buflen, "HMAC_DRBG - Read/write error in file" ); in mbedtls_strerror()
629 mbedtls_snprintf( buf, buflen, "HMAC_DRBG - The entropy source failed" ); in mbedtls_strerror()
634 mbedtls_snprintf( buf, buflen, "NET - Failed to open a socket" ); in mbedtls_strerror()
636 mbedtls_snprintf( buf, buflen, "NET - The connection to the given server / port failed" ); in mbedtls_strerror()
638 mbedtls_snprintf( buf, buflen, "NET - Binding of the socket failed" ); in mbedtls_strerror()
640 mbedtls_snprintf( buf, buflen, "NET - Could not listen on the socket" ); in mbedtls_strerror()
642 mbedtls_snprintf( buf, buflen, "NET - Could not accept the incoming connection" ); in mbedtls_strerror()
644 mbedtls_snprintf( buf, buflen, "NET - Reading information from the socket failed" ); in mbedtls_strerror()
646 mbedtls_snprintf( buf, buflen, "NET - Sending information through the socket failed" ); in mbedtls_strerror()
648 mbedtls_snprintf( buf, buflen, "NET - Connection was reset by peer" ); in mbedtls_strerror()
650 mbedtls_snprintf( buf, buflen, "NET - Failed to get an IP address for the given hostname" ); in mbedtls_strerror()
652 mbedtls_snprintf( buf, buflen, "NET - Buffer is too small to hold the data" ); in mbedtls_strerror()
654 mbedtls_snprintf( buf, buflen, "NET - The context is invalid, eg because it was free()ed" ); in mbedtls_strerror()
659 mbedtls_snprintf( buf, buflen, "OID - OID is not found" ); in mbedtls_strerror()
661 mbedtls_snprintf( buf, buflen, "OID - output buffer is too small" ); in mbedtls_strerror()
666 mbedtls_snprintf( buf, buflen, "PADLOCK - Input data should be aligned" ); in mbedtls_strerror()
671 mbedtls_snprintf( buf, buflen, "THREADING - The selected feature is not available" ); in mbedtls_strerror()
673 mbedtls_snprintf( buf, buflen, "THREADING - Bad input parameters to function" ); in mbedtls_strerror()
675 … mbedtls_snprintf( buf, buflen, "THREADING - Locking / unlocking / free failed with error code" ); in mbedtls_strerror()
680 mbedtls_snprintf( buf, buflen, "XTEA - The data input has an invalid length" ); in mbedtls_strerror()
684 if( strlen( buf ) != 0 ) in mbedtls_strerror()
687 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret ); in mbedtls_strerror()
697 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror() argument
702 buf[0] = '\0'; in mbedtls_strerror()