Develop and Download Open Source Software

Browse Subversion Repository

/[ttssh2]/trunk/ttssh2/ttxssh/arc4random.c

Log of /trunk/ttssh2/ttxssh/arc4random.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 10261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 11 05:26:32 2022 UTC (18 months, 4 weeks ago) by nmaya
File length: 5140 byte(s)
Diff to previous 10258
OpenSSL のときだけ arc4random.c/h と chacha.c/h が使われるようにした

- LibreSSL のときは compat/stdlib.h を include し LibreSSL の関数を利用する

- RAND_bytes() を呼ぶと LibreSSL の crypto/rand/rand_lib.c の RAND_bytes()
から TTSSH の arc4random.c の arc4random_buf() が呼ばれる状態を解消

Revision 10258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 10 21:27:17 2022 UTC (19 months ago) by nmaya
File length: 4915 byte(s)
Diff to previous 10253
getentropy() の返り値がインポート元と同じになるようにした

Revision 10253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 7 17:09:20 2022 UTC (19 months ago) by doda
File length: 4914 byte(s)
Diff to previous 9692
arc4random/arc4random_bufでseedが正しく設定されない問題を修正した

Revision 9692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 16 15:16:19 2022 UTC (2 years, 2 months ago) by nmaya
File length: 4914 byte(s)
Diff to previous 7777
暗号ライブラリを OpenSSL から LibreSSL に変更

#43469

merge from libressl_3_4_2:
r9623,r9624,r9637,r9648,r9658,r9660,r9676,r9677,r9679,r9680,r9683

Revision 7777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 16 16:40:17 2019 UTC (4 years, 9 months ago) by maya
File length: 3987 byte(s)
Diff to previous 7040
OpenBSD から arc4random.c Rev 1.26, 1.31 の差分を適用

Revision 7040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 21 03:01:34 2018 UTC (6 years, 1 month ago) by doda
File length: 4315 byte(s)
Diff to previous 6250
ChaCha20 の実装を変更

旧: openbsd-compat/chacha_private.h
新: chacha.c, chacha.h

どちらも OpenSSH 由来

Revision 6250 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jan 5 12:05:47 2016 UTC (8 years, 3 months ago) by doda
File length: 4314 byte(s)
arc4random() の実装を OpenSSH の ChaCha20 ベースの物に置き換え
# チェックが不十分に思うけれど、度々 conflict するのに心が折れたのでとりあえずコミット
# あと MIN や uint32 とかの定義場所を整理したかったけれど後で


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26